DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Changing fonts

Using wildcards

Wildcard characters can be used to shorten the string needed to specify a font. The asterisk (*) and question mark (?) serve as wildcard characters in much the same way they do for the operating system: an asterisk represents any combination or variety of characters and a question mark represents any single character.

To prevent the shell from interpreting the wildcards, either enclose the entire font name in quotes or use a backslash before each wildcard character. For example, the two following lines are valid wildcard representations of the font discussed in the previous section. In this example, the font is being specified for the scoterm client using the -fn command line option.

scoterm -fn '*courier-bold-o-*-100*' &

scoterm -fn \*courier-bold-o-\*-100\* &

You should be aware of the following when using wildcards in font specifications:

Using font wildcards is a convenient method of specifying fonts. However, it can also lead to unexpected results, so it is recommended that you test your shortcut thoroughly before making it generally available. In many cases, font aliases, described in the next section, provide a safer and easier way to shorten your references to full font names.
Next topic: Font aliases
Previous topic: Font names

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003