Annotation of 42BSD/usr.lib/learn/editor/L65.1a, revision 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 number.
        !            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
        !            19: funny character in it? Type "answer WORD" where WORD is
        !            20: that word (without the funny symbol).
        !            21: #create weird
        !            22: This line      has     tabs    in      it.
        !            23: So             does            this    one.
        !            24: Here is a line ____with backspaces of a useful sort,
        !            25: which show how underlining on printed output is done.
        !            26: These backspacesonlyconfuse matters.
        !            27: 
        !            28: there's a strange character in th&is line even though it prints ok.
        !            29: #copyin
        !            30: #user
        !            31: #uncopyin
        !            32: #match this
        !            33: #log
        !            34: #next
        !            35: 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.