setting xterm font from the command line

Parv parv at pair.com
Thu Jun 24 11:13:51 PDT 2004


in message <40DABF4C.3070901 at code-fu.com>,
wrote Michael A. Smith thusly...
>
> 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"

Just a data point ... i tried w/ xterms included in 4.3.0 and
locally compiled version (patch 187) w/o any problems; the exact
command was...

  xterm -fn \
    '-bitstream-bitstream vera sans mono-*-r-normal-*-16-*-*-*-*-*-*-*'


Is "bitstream vera sans mono" font listed in xfontsel(1)'s list or
xlsfonts(1)'s output?


  - Parv

-- 



More information about the freebsd-questions mailing list