This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
RE: How to launch an xterm using "Monospace" font
- From: "Timares, Brian (HP)" <Brian dot Timares at va dot gov>
- To: <cygwin-xfree at cygwin dot com>
- Date: Fri, 6 Aug 2010 11:10:25 -0500
- Subject: RE: How to launch an xterm using "Monospace" font
- References: <1299EF3181B10F479D85C328013285240331C4DA@THEZE.intra.cea.fr>
- Reply-to: cygwin-xfree at cygwin dot com
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/