O+O - Set output options.

Syntax:

O+OL      O-OL      Lower case output
O+OO      O-OO      Octal output
O+OU      O-OU      Upper case output
O+Occc    O-Occc    Print alternate formats

Examples:

o+oo
o+o\(\)\<\>

Options:

ccc
is a list of one or more characters that can be displayed in more than one way.
O+OO
tells FRED that any non-ASCII or strange ASCII characters should be printed in octal form in any output to the terminal. This octal form is preceded by the escape character (default \). Thus the ASCII formfeed character would be printed \014. FRED will print \8c if an octal number is a seven-bit ASCII character c with its eighth bit turned on. Similarly it will print \9c if the octal number is a seven-bit ASCII character c with its ninth bit turned on, and \9\8c if the octal number is a seven-bit ASCII character c with both its eighth and ninth bits on.
O-OO
turns off this form of printing. The default form is O+OO.
O+OL
is usually used in conjunction with O+IL. All lower case characters will be preceded by the case escape character in output directed to the terminal. The default case escape character is %. Thus under this option a lower case a would be printed as %A. A pair of case escape characters are printed to denote the case escape character itself (e.g %%).

O-OL

tells FRED to print lower case letters normally.
O+OU
is usually used in conjunction with O+IU. All upper case characters will be preceded by the case escape character in output directed to the terminal. The default case escape character is %. Under this option, an upper case A would be printed as %A. A pair of case escape characters are printed to denote the case escape character itself (e.g. %%).
O-OU
tells FRED to print upper case letters normally.
O+Occc
To support terminals that do not have all the special characters recognized by FRED, the editor accepts alternate forms of input using an escape character followed by another character. For example, \( can be substituted for an opening brace bracket { while \) is accepted as a substitute for a closing brace }. A full list of recognized alternate forms is given in "expl fred escapes".

FRED automatically accepts these special forms as input. O+O can tell FRED to use these special forms in output too. For example,

O+O\(

tells FRED to print left braces as \( instead of {. Any number of these alternate character forms can be listed after an O+O command to specify how those characters are to be printed on the terminal. You can also use O+O{}, for example, to return to printing the usual characters specified.

O-Occc
turns off special output forms. FRED's default is to print all characters in their internal format except for the special stream directive characters \B, \C, etc.

Copyright © 1998, Thinkage Ltd.