|
|||
Changing font size in xterm
Several years ago, on what used to be my workstation, I wrote a small script to create some xterms with a different and larger font size then the default. Yes, older age comes with diminishing eyesight for me
This proved to be handy when creating complex regular expressions for grep or friends. Being too lazy to go to the garage through the cold, to unpack that box, connect a keyboard and monitor to it, I decided to google for 'xterm font size unix'. The most helpful was http://invisible-island.net/xterm/xt....html#how_do_i Quote:
The xterm man page is quite long but this site also has a nice version of the xterm man page : http://invisible-island.net/xterm/manpage/xterm.html The MENU section : http://invisible-island.net/xterm/manpage/xterm.html If you use 'less' as pager for the man pages ..... Code:
$ grep PAGER .profile export PAGER=/usr/bin/less Code:
MENUS Xterm has four menus, named mainMenu, vtMenu, fontMenu, and tekMenu. Each menu pops up under the correct combina- tions of key and button presses. Each menu is divided into sections, separated by a horizontal line. Some menu entries correspond to modes that can be altered. A check mark appears next to a mode that is currently active. Selecting one of these modes toggles its state. Other menu entries are commands; selecting one of these performs the indicated function. All of the menu entries correspond to X actions. In the list below, the menu label is shown followed by the action's name in parenthesis.
So to change the the font size: press the CONTROL key with one hand, and click the right mouse button. A menu appears, with the following font alternatives: Code:
Default (fontdefault) Set the font to the default, i.e., that given by the *VT100.font resource. Unreadable (font1) Set the font to that given by the *VT100.font1 resource. Tiny (font2) Set the font to that given by the *VT100.font2 resource. Small (font3) Set the font to that given by the *VT100.font3 resource. Medium (font4) Set the font to that given by the *VT100.font4 resource. Large (font5) Set the font to that given by the *VT100.font5 resource. Huge (font6) Set the font to that given by the *VT100.font6 resource.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump Last edited by J65nko; 21st December 2011 at 06:55 AM. Reason: fixing some VBulletin codes |
Tags |
font size, x window, xterm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to change the font size? atop xterm, aterm, etc | jb_daefo | General software and network | 12 | 13th July 2010 10:42 AM |
font-misc-ethiopic & font-misc-meltho | Beastie | General software and network | 0 | 27th February 2009 11:21 AM |
CLI font size | idefix | FreeBSD General | 3 | 7th February 2009 11:19 AM |
changing Firefox's font(s)? | spiderpig | General software and network | 4 | 5th June 2008 03:09 PM |
Wrong screen resolution, font size etc. | PatrickBaer | FreeBSD General | 10 | 14th May 2008 10:00 AM |