Annotation of 43BSD/usr.lib/learn/editor/L65.1a, revision 1.1.1.1

1.1       root        1: #print
                      2: A strange, and not often important command, is the 'l' (list) command.
                      3: When it is needed, though, it is vital.  It is almost identical to 'p'
                      4: (print) except that control characters (like tab or backspace) are
                      5: printed in a way that lets you see what they are no matter what the
                      6: terminal does.  From time to time strange characters will sneak into
                      7: your files; they won't show when you print them, and yet they will
                      8: confuse you.  For example, you might be unable to find a line by
                      9: searching for it with
                     10:    /abc/
                     11: and yet it would print as "abc" if there were
                     12: a funny character in the line between 'a' and 'b'.
                     13: Funny characters are generated by hitting the control
                     14: keys on the terminal; they print as '^' followed
                     15: by a character.
                     16: There is a file "weird" in this directory.  Print
                     17: it both with "1,$p" and "1,$l" and observe the difference.
                     18: Then leave the editor.  Which word on the last line has a funny
                     19: character before it? Type "answer WORD" where WORD is that word.
                     20: #create weird
                     21: This line      has     tabs    in      it.
                     22: So             does            this    one.
                     23: Here is a line ____with backspaces of a useful sort,
                     24: which show how underlining on printed output is done.
                     25: These backspacesonlyconfuse matters.
                     26: 
                     27: there is a strange character in        this line even though it prints ok.
                     28: #copyin
                     29: #user
                     30: #uncopyin
                     31: #match this
                     32: #log
                     33: #next
                     34: 66.1a 10

unix.superglobalmegacorp.com

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