Annotation of 43BSDTahoe/usr.lib/learn/editor/L16.1a, revision 1.1.1.1

1.1       root        1: #print
                      2: When you are typing after an 'append' command,
                      3: the editor is no longer listening for its ordinary commands.
                      4: Between 'a' and '.' none of your usual 'p', 'w', or 'q'
                      5: commands are recognized.  The only thing that will make the
                      6: editor wake up is to type '.' alone on a line.  So to type in
                      7: text, then print it, you must go through a sequence like
                      8:   ex file
                      9:   a
                     10:   input text
                     11:   .
                     12:   1,$p
                     13:   wq
                     14: and you must not type the "1,$p" until you have typed
                     15: the '.'.  Do you understand?  Will the sequence
                     16:   ex junk
                     17:   a
                     18:   input line
                     19:   $=
                     20:   .
                     21:   wq
                     22: print the number of the last line typed in?  If you don't
                     23: know, try it.  Then type 'yes' or 'no'.
                     24: #copyin
                     25: #user
                     26: #uncopyin
                     27: #match no
                     28: #log
                     29: #next
                     30: 16.1b 10
                     31: 16.2a 5

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.