This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How to launch an xterm using "Monospace" font


JOHNER Jean wrote:
>Has anybody been able to launch xterm with a font (any is welcome)
which
>is not the default?

Jean,

I think this is what you want.  I have:
XTerm*font: -*-courier-medium-r-*-*-*-100-*-*-*-*-*-*
in my .Xdefaults

Other than colors, here is my .Xdefaults (in my home directory, natch):
XTerm*scrollBar: on
XTerm*saveLines: 99999
XTerm*font: -*-courier-medium-r-*-*-*-140-*-*-*-*-*-*
XTerm*visualBell: true
XTerm*titeInhibit: true
urxvt*secondaryScreen: false

The most important part is the XTerm*titeInhibit: true, it is beyond me
why that isn't the default everywhere (it prevents a screen clear when
you're, say, done reading a man page).  I want to get rid of the title
bar but haven't explored that as I launch most of my xterms from a
script. Extract:

nohup xterm -name $h -title $h -ls -mc none +tb +mb -vb -sb -sl 99999
-background grey95 -fg black -cr black -ms black -font
"-*-lucidatypewriter-medium-*-*-*-*-100-*-*-*-*-*-*" -e ssh -Yq root@$h
>/dev/null & 2>&1

Naturally $h is the server :)

To get the fonts I launched xfontsel and went through it and
experimented.  Use the 'select' button to put the string into the
buffer.


Brian



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]