public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: waltdnes@waltdnes.org
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Console fonts revisited
Date: Fri, 4 Dec 2015 22:13:45 -0500	[thread overview]
Message-ID: <20151205031344.GA17910@waltdnes.org> (raw)
In-Reply-To: <20151204204543.1c024567@hal9000.localdomain>

On Fri, Dec 04, 2015 at 08:45:43PM +0100, wabenbau@gmail.com wrote

> Try consolefont="ter-124n". But as Peter said, the terminus-font
> needs some X libraries. I never noticed that, because on my system
> X was already installed before I installed media-fonts/terminus-font.

  I couldn't get anything less than 120 columns across.  Here's the
scriptlet "listres" I used to check all the terminal fonts.  Note that
it does *NOT* begin with #!/bin/bash and is not chmod'ed executable.
That's because COLUMNS and LINES are not environment variables, but are
shell variables.  So they are not inherited by a deeper script.

cd /usr/share/consolefonts
for cfont in ter-*
do
   setfont ${cfont}
   echo "${cfont} ${COLUMNS} ${LINES}"
done
cd

  I had to "source" it to stay within the same shell level...

 . listres > /dev/shm/screensize.txt

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


  parent reply	other threads:[~2015-12-05  3:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 14:53 [gentoo-user] Console fonts revisited Peter Humphrey
2015-12-03 18:38 ` Alan Mackenzie
2015-12-03 19:19   ` wabenbau
2015-12-04 10:02   ` Peter Humphrey
2015-12-04 17:19     ` wabenbau
2015-12-04 18:58     ` waltdnes
2015-12-04 19:45       ` wabenbau
2015-12-04 23:24         ` [gentoo-user] " Jonathan Callen
2015-12-05 10:21           ` Peter Humphrey
2015-12-05  3:13         ` waltdnes [this message]
2015-12-05  5:20           ` [gentoo-user] " wabenbau
2015-12-05  9:57       ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151205031344.GA17910@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox