home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
q
/
qedtips1.zip
/
TECH4.MSG
< prev
next >
Wrap
Text File
|
1992-07-08
|
5KB
|
96 lines
A QEdit Tip from the SemWare Technical Support Staff
.. Saving Files and Exiting ..
QEdit provides several different ways to save files, discard
files, and exit the editor. A set of five basic commands
provides various combinations of saving, discarding, and exiting
in order to suit individual preferences.
We recommend selecting one or two methods with which you feel
most comfortable and use them consistently. Below is a
description of the basic commands for both single and multiple
files along with our default key combinations.
1) SaveFile <Ctrl K><S> - save the currently edited file to
disk. The file remains loaded into the editor for
further editing.
GSave <Alt Y> - Like the SaveFile command but it issues the
SaveFile command for all the files that have been
modified.
2) File <Ctrl K><X> - Unconditionally saves and then discards
the current file. It then either goes to the next file
in the QEdit file ring or the file to edit prompt.
GFile <Alt F><G> - Like the File command but it instructs
the editor to save all files that have been modified and
then discards all the files that are loaded and exits.
3) Exit <Ctrl K><D> - Conditionally discards the currently
edited file. If the file has not been modified, the
file is discarded without prompting and the editor is
exited. If the file has been modified, the editor will
prompt "Save Changes (Y/N)?" Selecting <Y> will save
and discard the file, then exit. Selecting <N> will
discard the file without saving any changes and exit.
GExit <Alt X> - Like the Exit command but it issues the Exit
command for all loaded files. If no files have been
modified, it will immediately exit the editor. If any
files have been modified, the "Save Changes (Y/N)?"
prompt will be displayed for each modified file.
4) PQuit <Ctrl K><Q> - A protected quit that will warn the
user of a modified file before discarding the file. If
the file has not been modified, it is discarded without
prompting. If the file has been modified, the editor
will prompt "Lose Changes (Y/N)?" Selecting <Y> will
discard the current file without saving changes and then
either go to the next file in the QEdit file ring or the
file to edit prompt. Selecting <N> will return you to
the file to resume editing.
GPQuit <F3> - Like the PQuit command but it issues the PQuit
command for all loaded files. If no files have been
modified, it will immediately exit the editor. If any
files have been modified, the "Lose Changes (Y/N)?"
prompt will be displayed for each modified file and then
the editor is exited.
5) Quit - An unconditional quit. The current file is discarded
regardless of any changes made to it. NOTE: Use this
command with caution! The Quit command is not assigned
to a default keystroke.
The Exit, File, PQuit commands can be configured to terminate or
not terminate the editor and ask for another file to edit.
This option can be customized using the configuration program
QCONFIG.EXE. Run QCONFIG.EXE, select G)eneral Options, and
return till you get to the option that reads:
Do you want the PQuit, Exit and File commands to return to
"EditFile" prompt (Y/N)? [Y]
The default configuration is set to <Y> and will return you to
the EditFile prompt upon executing the PQuit, Exit, and File
commands or go to the next file in the QEdit file ring. If set
to <N>, it will terminate QEdit upon executing the above
commands. The SaveFile and Quit commands are not affected by
this setting.
A Few Recommendations:
~~~~~~~~~~~~~~~~~~~~~
* If you know what you are doing and want to get in and out of
the editor quickly, use the GFile command.
* If you want to make one more final check before you exit the
editor, use the GExit.
* PQuit/GPQuit and Exit/GExit are not intended to be used at
the same time, but to give the user opposing approaches to
saving files and exiting the editor.
Matthew Giles (SemWare Technical Support)