* Dave Sherohman ([EMAIL PROTECTED]) [020506 07:58]: > I have the opposite situation from the OP - a large majority of my > users insist that the default Xterm font is too tiny and (quite > rightly) complain about having to manually increase the font size to > "Huge" whenever they open a new terminal. > > On Sun, May 05, 2002 at 09:06:28AM -0700, Carl Johnson wrote: > > You can set any of the fonts with entries in your .Xresources file. > > There are 6 fonts sizes plus the default, and any or all can be reset. > > Look at the "/usr/X11R6/lib/X11/app-defaults/XTerm" file to see what > > the defaults are (unreadable is nil2 in mine). I use entries such as > > "XTerm*font:" to set the default, and "XTerm*font3:" to set font 3. > > That's all very nice, but, as I read it, that allows you to specify > that 'font 3 = Helvetica Runic 72' or whatever, but what I (and, I > suspect, the OP) am looking for is a way (.Xresources would work for > me, but I suspect the OP needs a command-line option) to tell xterm > 'when you open, use the Huge font instead of the default font'.
I have something like this in my .Xresources: *font: -misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15 *VT100*font2: -misc-fixed-medium-r-normal-*-*-70-*-*-c-*-iso8859-15 *VT100*font3: -misc-fixed-medium-r-normal-*-*-100-*-*-c-*-iso8859-15 *VT100*font4: -misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15 *VT100*font5: -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-15 *VT100*font6: -misc-fixed-medium-r-normal-*-*-200-*-*-c-*-iso8859-15 The first line sets the default font. If you want to make them all larger, just up all the font size numbers (i.e. the 120, 70, 100, 120, 140, 200 above). IMO, it makes more sense to set all of the values to be reasonable and then still be able to go up or down than to stick with the defaults but always be sitting at the largest setting. Another trick, in case you or your users are often changing font sizes in xterms, try using shift with the keypad + or - to change font sizes quickly, without having to go through the menus. This way, you can easily shrink windows out of the way to save some real estate, and regrow your current window to save some eyestrain =) good times, Vineet -- Currently seeking opportunities in the SF Bay Area Please see http://www.doorstop.net/resume.shtml
pgpyACadgGNH2.pgp
Description: PGP signature