Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 14:07:09 -0400
From:      Parv <parv@pair.com>
To:        "Michael A. Smith" <msmith@code-fu.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting xterm font from the command line
Message-ID:  <20040624180709.GA622@moo.holy.cow>
In-Reply-To: <40DABF4C.3070901@code-fu.com>
References:  <40DA34AA.20906@code-fu.com> <20040623221647.V88483@wonkity.com> <40DABF4C.3070901@code-fu.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <40DABF4C.3070901@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

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040624180709.GA622>