On Tue, Mar 15, 2005 at 11:20:03PM +0100, Carlos wrote: > [Thomas Dickey <[EMAIL PROTECTED]>, 2005-03-15 21.26 CET] > > On Tue, Mar 15, 2005 at 08:40:12PM +0100, Carlos wrote: > > > Package: xterm > > > Version: 4.3.0.dfsg.1-12.0.1 > > > Severity: wishlist > > > > > > I want to select an alternative font at startup. Now I have to do > > > Shift-KP_Add twice every time I open an xterm or uxterm. I would want one > > > of > > > these (or similar): > > > > > > xterm -xrm '*vt100*defaultFont: 5' > > > or xterm -xrm '*vt100*initialFont: 5' > > > or xterm --send-event 'set-vt-font(5)' > > > > But you can certainly modify your personal resource file to do this. > > Yes, I can change *vt100*font and *vt100*font2-6. But can't specify, without > changing them, which one to use at startup. (Or do I? I found nothing in the > docs.) > > (Note that the resource strings mentioned in my original message, or the > parameter, don't exist.)
I understood that, but did not focus on the 'initialFont' part, since xterm's default font is one of 6 fonts it has available. On startup, xterm -xrm '*VT100.font:9x15' specifies the default font, which is the initial font. A little script starting with appres XTerm |fgrep '*VT100*font' would retrieve the font settings for the various font resources. > There is a feature, the resource string "*tex4014*initialFont", which > (according to the documentation) does what I want, but to some mysterious > 'Tektronix window'. I would like to have the same feature in the VT100 > window. I see now (I suppose something like that could be added for the VT100 widget). > Thanks for your attention. no problem -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpwkmzPqpEIq.pgp
Description: PGP signature