It is great how it works.
I wrote:
>How can I change fonts for aplication under OpenWindows (Solaris 2.5).
>I always did it this way for exapmple:
>
>%cmdtool -fn b&h-lucidatypewriter-bold-r-normal-sans-12-120-75-75-m-70-iso8859-2
>
>But for some reason it doesn't work now.
>
>The result is:
>
>sun5% cmdtool -fn b&h-lucidatypewriter-bold-r-normal-sans-12-120-75-75-m-70-iso8859-2
>[1] 348
>h-lucidatypewriter-bold-r-normal-sans-12-120-75-75-m-70-iso8859-2: Command not found
>sun5% XView warning: Cannot load font set 'b' (Font package)
>XView warning: Cannot load font set 'b' (Font package)
>XView warning: Cannot load font set 'b' (Font package)
>XView warning: Cannot load font set 'b' (Font package)
>XView warning: Cannot load font set 'b' (Font package)
>XView warning: Cannot load font set 'b' (Font package)
>
>Comandtool runs with defult font.
>The font after -fn is OK. It appears after command xlsfonts.
>I tried several fonts. The same result.
>
>Can you tell me what do I do wrong?
The solution is (thanks to you):
sun5% cmdtool -fn '-b&h-lucidatypewriter-bold-r-normal-sans-12-120-75-75-m-70-iso8859-2'
OR
sun5% cmdtool -fn -b\&h-lucidatypewriter-bold-r-normal-sans-12-120-75-75-m-70-iso8859-2
OR
cmdtool -fn "b&h-lucidatypewriter-bold-r-normal-sans-12-120-75-75-m-70-iso8859-2"
All works fine.
It is because of that :
The "&" character has special meaning to the shell. It means "run
this command in the background." Reading the error message shows
that the shell thinks that the font is "b" and
h-lucidatypewriter-bold-r-normal-sans-12-120-75-75-m-70-iso8859-2
is another command.
Special Thanks to:
Paul R. Joslin (paul....@heimdall.sdrc.com)
Casper Dik <cas...@holland.Sun.COM>
Jens Fischer <je...@kat.ina.de>
Mitch Patenaude <m...@northcoast.com>
Anthony Worrall <Anthony...@reading.ac.uk>
Terry Gorby <tgo...@emc.com>
Danny Johnson (djoh...@nbserv2.dseg.ti.com )
David H. Brierley <d...@ssd.ray.com>
be...@penthesilea.uni-trier.de (Jochen Bern)
w...@avatar.pty.com (Wen Fung)
Trevor Paquette <TrevorP...@aec.ca>
and many others.
Best Regards
Jozef Rujak
--------------------------------------------------------------------
Jozef Rujak e-mail: do...@intas.sk
INTAS phone: +42 95 6335013, 35012
Stromova 10 fax: +42 95 6335013, 35012
040 01 Kosice http://www.tuke.sk/com/intas/intas-a.html
Slovak Republic
--------------------------------------------------------------------