Q - Quit.

Syntax:

Q
QQ
Q!TSS command

Examples:

q
qq
q!expl fred

Description:

Q ends a FRED session. The simplest version of the command is just Q followed by a new-line. This quits FRED provided there are no questionable buffers. A buffer is questionable if it has an associated file name, and if the contents of the buffer differ from the contents of the associated file. The simple Q command also fails when the current buffer has no associated file name but still contains text. This feature avoids the loss of material that has not yet been written out to a file.

The QQ form ends your FRED session even if some buffers are still questionable. The contents of all buffers are lost unless they have been written out to files.

The form

q!command

is equivalent to

!command
qq

except that FRED calls the specified command in such a way that FRED terminates at the same time the new command begins execution.

Copyright © 1998, Thinkage Ltd.