If reading from a file in which an EOF (end of file) character accidently appears, the standard input reverts to device TTY: This essentially means that 1616/OS makes an inspired guess about where to look for its next command; handy if working the computer remotely, say over a phone. Under normal circumstances, you won’t notice this feature. Miscellaneous commands The miscellaneous commands cover various odds and ends which you expect to have in a text editor, and then some. Ctrl K Q Quit from the editor without saving the file to disk.
You would do this if you had made some changes which you later decided to reverse, or if you made a serious editing mistake, or if you were simply using the editor to browse through a file. If the file has been altered since it was last written to or read from disk then the message ‘Not saved yet’ appears on the status line and you must enter the command a second time to quit. This is a safety feature which prevents you from accidently quitting before saving your work. Ctrl K Q Ctrl K E Execute one 1616/OS inbuilt or transient command. A prompt is displayed and you can type the command. Upon completion of the command you are prompted to press the key and then editing is resumed as before.
Enter Ctrl K I Temporarily escape from the editor and execute 1616/OS inbuilt and transientcommands. The 1616/OS commandlinepromptgetsanother ‘>’ character to remind you that you are still within the editor. To return to your file, use the 1616/OS command, or type the end-of-file character (usually ). Ctrl D The and commands are temporary escapes from the editor. When you return to the editor all the block markers, the substitute pattern and the search pattern are undisturbed. The only 1616/OS command which you cannot use with the editor escape is ‘edit’ - you can only edit one file at a time. This only applies to the ROM version of the editor in 1616/OS Version 3.
Ctrl K E Ctrl K I Ctrl Q G Go to a particular line within the file. You are prompted to enter a line number. Pressing immediately is equivalent to entering the number 0, and sends you to the start of the file. Entering an impossibly large number (or -1) sends you to the end of the file. Enter Ctrl K F Freeze part of the screen function. Often when editing a file (par- ticularly with program source code) you wish to look at two parts of the file at once. This may be done with the screen freeze function in the following manner: Edit: The Screen Editor User Tutorial Manual Page 51