setting xterm font from the command line
parv at pair.com
Thu Jun 24 12:09:03 PDT 2004
in message <20040624145011.71cbd047 at localhost>,
wrote epilogue at allstream.net thusly...
> On Thu, 24 Jun 2004 14:07:09 -0400
> Parv <parv at pair.com> wrote:
> > 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-*-*-*-*-*-*-*'
> i just tried it myself. in order for it to work, you *must* escape the
> fontname whitespace.
> xterm -fn -bitstream-bitstream\ vera\ sans\mono-*-yada,yada.
> also, if you're using the ' ' on either end of the fontname (as
> you've shown above), drop them.
Ah but the single quotes are there to avoid expansion of '*' via
shell besides aboding the need to quote the spaces as shown above.
And epilogue(?), yes, your proposed syntax does cause xterm not to
find the desired Bitstream font; default font, fixed, is used
instead (when the command is being executed in bash 2.05b).
More information about the freebsd-questions