Exiting STedi

There are several ways to exit stedi . You may use the function keys, the command line. With the function keys you may press shift-F10 which is the command to exit the editor. If any changes have been made to files that are in any of the buffers without saving them, stedi will query to make sure that you indeed want to abandon the changes. You may answer `y' (yes) to leave the editor without saving the changes, or `n' (no) which results in no action. You then can save the files desired and leave the editor. The function key F10 allows you to save the file in the current buffer and to quit all at one stroke. Again if files in other buffers are unsaved, you will be queried concerning them.

In the command line you may exit the program by typing the command 'q' for quit or the whole word `quit'. This is equivalent to the shift-F10 command. You may also enter the command 'sq' standing for `save and quit', which is the same as the command F10. In addition the command `savequit' will have the same effect.

For the options on writing while saving a file, see the chapter on Reading, Writing and Printing p[*].