Back to Silas S. Brown's home page
Low-vision configuration for terminal applicationsI usually find that Unix terminal applications work reasonably well in large print as long as the terminal itself can. However, increasing the print size usually means that fewer rows and columns are available, and some applications don't work very well on terminals with fewer than normal rows and columns. This can sometimes be fixed by configuring the application. Here are some of my dot-files for this and related fixes:
- .muttrc is used to configure the terminal-based email client
mutt. This dot file works better if you add .message-formatter (requires Python, tested in both 2 and 3), and check the comments at the start of the
.muttrcfor what to do if messages are not displayed on your system.
- If you use Alpine (e.g. for IMAP over a slow connection if the system's version of Mutt doesn't handle it efficiently), see alpine.txt.
- .jedrc and .nanorc
are used to configure the
nanoeditors (you might also want my emacs configuration);
jmacsis also useful but I do not have configuration files for it
are used to configure the terminal-based Web browser
lynx. This works only if you put
export LYNX_CFG=in your .bash_profile/
$HOME/.lynx.cfg .bashrc. (See also TermLayout)
- .tmux.conf configures the terminal multiplexer
tmux(which is like
screenbut might handle UTF-8 better)
.curlrcto stop problems with the progress bar on small terminals (also helps with programs that use curl, such as HomeBrew)
top, try pressing
fand turn off columns you don't really need (try
m, and perhaps turn off
eand turn on
don single-user systems), press
cto toggle extended commandline and press
Wto write to
topis less flexible.
ConsoleOn modern GNU/Linux distributions the console font size is quite small. You might be able to go some way toward enlarging it by using this .console-setup and putting
.bash_profile, or if you don't have
On FreeBSD the command is
vidcontrol -f /usr/ but to make this work in FreeBSD 11 and above you also need to put
/boot/loader.conf (although at least text-mode on means the starting size is not quite as miniscule as became popular on GNU/Linux).
For fonts larger than 32px (and for CJK),
on GNU/Linux you might be able to install
and if you want to turn off anti-aliasing you can
try this non-antialiasing .fonts.conf (on some
systems it needs to be saved
.config/) but some versions of
fbterm corrupt the display when anti-aliasing is turned off.
If the machine has sufficient resources, you could just use X11 with a terminal program set for large fonts.
All material © Silas S. Brown unless otherwise stated.
FreeBSD is a registered trademark of the FreeBSD Foundation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Mac is a trademark of Apple Inc.
Python is a trademark of the Python Software Foundation.
Unix is a trademark of The Open Group.
Any other trademarks I mentioned without realising are trademarks of their respective holders.