MPE/iX Shell and Utilities Reference Manual, Vol 2
rcsedit(3) MPE/iX Shell and Utilities rcsedit(3)
NAME
rcsedit — RCS editing facilities for descriptions and log messages
DESCRIPTION
Whenever RCS asks you to enter a description or log message, you may make use of editing
commands to help you enter the message. Editing commands must be on a separate line and
the first character of the line must be a tilde ˜ character. Below we list the recognized com-
mands.
˜? Displays a summary of editing commands.
˜e Writes the current message to a temporary file and invokes a text editor to edit that file.
The name of the editor is taken from the
EDITOR
environment variable. If there is no
such variable, ed is used. When you are finished editing the message, write it back out
to the temporary file and quit the editor. You return to
RCS.
˜p Displays the current text of the message.
˜q Discards the current message and lets you start again.
˜r filename
Reads the contents of the given file and appends them to the current message.
˜v Similar to ˜e, except that it invokes the visual editor identified by the
VISUAL
envi-
ronment variable. The default is vi.
˜w filename
Writes the current message to the specified file.
˜! command
Executes the given system command.
If a line begins with a tilde,
RCS assumes it is an editing command. If you want to enter a text
line that begins with a tilde, type two, as in
˜˜ This line begins with a single tilde.
EXAMPLES
These are the changes I have made:
˜r changes
reads in text from a file named changes and adds that text to the message being composed.
The period (.) to mark the end of the message is still required.
Miscellaneous Information 3-9