setting xterm font from the command line

Michael A. Smith msmith at code-fu.com
Thu Jun 24 04:47:27 PDT 2004


Warren Block wrote:
> Use xfontsel to choose the font and then specify the exact same thing 
> that it shows:
> 
> xterm -fn '-bitstream-charter-*-r-normal-*-*-*-*-*-*-*-*-*'

xfontsel works great and works fine for the sample string above 
(Bitstream Charter), but xterm barfs on font strings that have spaces, 
for example:

"-bitstream-bitstream vera sans mono-*-r-normal-*-*-*-*-*-*-*-*-*"

I've tried every combination of single quotes, double quotes and 
backslashes before the spaces without success. I get back an error like 
this:

xterm:  bad command line option "vera"

Any ideas??

-- 
Michael A. Smith <msmith at code-fu.com>
($do || !$do) && undef($try); # Master of Perl, Yoda is. Hmmmm?



More information about the freebsd-questions mailing list