Applix 1616 — Applix 1616 User Tutorial: Руководство для начинающих (PDF)

inresponse to this question makes thereplacement effective through to the end of the file. The replacing is done from the current position forwards. Ctrl N Next replacement. Provides a single repetition of the previous command. The search is performed from the current position. Ctrl Q A When entering the search and substitute character strings for the and commands the control-N character ( ) may be used to match with the new-line character in a file.

If, for example, you wished to find the next line which started with the letter ‘T’ then you would search for the pattern ‘ which represents a new-line followed by a ‘T’; this search would not match with ‘T’s which are not the first letter on the line. Ctrl Q F Ctrl Q A Ctrl N Ctrl N T The substitute command may be used to remove selected patterns from the file by immediately pressing in response to the ‘With?’question; the selected pattern is searched for and is replaced with an empty character string, effectively deleting it.

Ctrl Q A Enter Editor hints If you are altering a file and find yourself typing a sequence of characters and/or commands over and again, escape to the 1616/OS shell and program the characters and commands into a function key and use it instead. See the inbuilt command below for a description of programming function keys. You can put any character into a function key definition, including the control characters which the editor uses for commands. You can also use keyboard programming via the function key method. Alt Ctrl Occasionally write your file out to disk with the command; if something regrettable occurs you will at least have a recent copy.

Ctrl K D Learn all the features of the editor at an early stage. If you limp along using only half of the available commands you will regret the wasted time when you finally come to learning all of them. Use the - place markers and the partial screen freeze feature, particularly if you are editing program source code. They’re great. Ctrl K 0 Ctrl K 9 The search command can be used for counting the number of occurrences of a pattern within a file: position the cursor at the start of the file and search for an enormous number of occurrences; the editor will display the actual count on the status line when it has finished. Search for spaces for a rough word count.

Ctrl Q F To move a single line, use to delete it, move the cursor to where it should be inserted, then undo the deletion using . Ctrl Y Ctrl U U Edit: The Screen Editor User Tutorial Manual Page 53