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

next in thread | previous in thread | raw e-mail | index | archive | help
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@code-fu.com>
($do || !$do) && undef($try); # Master of Perl, Yoda is. Hmmmm?



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