O+I( Names must be parenthesized O-I( Names do not need () O+IA/string/ Set append mode prompt O-IA No append mode prompt O+IC/string/ Set command mode prompt O-IC No command mode prompt O+IEc Set escape character O-IE Turn off escape char O+IF Print linefeed with return O-IF No linefeed with return O+ILc Lower case input O-IL Turn off lower case input O+IR/string/ String after return O-IR No string after return O+IUc Upper case input O-IU Turn off upper case input O+I\F \F needed to end input O-I\F \F not needed to end input
o+il% o-iu o+ie' o-i( o+ia/TEXT-->/ o+ic/What next?/ o-i\f
O-IE
turns off the current escape character and does not set a new one. It is not usually desirable to work without an escape character.Once FRED has seen the string O+IE, it turns off the current escape character and takes the next character as the new escape character. Thus O+IE\B sets \ to the escape character, not the stream directive character \B. \ is turned off as the escape character as soon as FRED sees O+IE and therefore \B is not recognized as a special construction.
o+ia/>/
tells FRED to prompt with a > for each line of text input. This is the default.
o+ic/yes?/
tells FRED to prompt with yes? for each line of commands.
O+IR
is generally used in connection with O+IA and O+IC to make a visible distinction between text input and commands. For example, suppose your terminal can display your session in reverse video as well as normal video. Theno+ia/escape sequence for normal video/ o+ic/escape sequence for reverse video/ o+ir/escape sequence for normal video/
uses your terminal's escape sequences to switch back and forth between normal and reverse video. The result of the three commands above would be to print all commands in reverse video and all text input in normal video.
The default is O-IR. It works differently on VIP and TTY termianls. With VIP terminals, FRED displays a carriage return when ENTER is pressed. With TTY terminals, FRED prints a linefeed if O+IF is in effect.
o-i\f a This line is appended to the current buffer. "This is a command line. a This is the beginning of text. The text can only be ended with \f
O-I\F
makes it easier to append single lines of text.Copyright © 1998, Thinkage Ltd.