Annotation of researchv9/cmd/emacs/macros/move, revision 1.1

1.1     ! root        1: �             Move the cursor to home (top line)
        !             2: 
        !             3: C. Douglas Blewett (MH3-C-319) Version 4
        !             4: 
        !             5: This file contains assorted macros that help the user move quickly or
        !             6: accurately around the screen.  The central rountines are M-H and
        !             7: M-L (top and bottom of the screen).  Should be able to have just one
        !             8: routine to handle both, but ^]^N or ^]^P marks the file as modified
        !             9: at the end or beginning of the buffer.
        !            10: 
        !            11:  Interface routines
        !            12:       M-H - Home or top of screen
        !            13:       M-L - Last or bottom of screen
        !            14:       M-M - Middle of screen
        !            15:       M-^P- Back one line - adds a line at the top of the screen
        !            16:       M-^N- Forward one line - adds a line at the bottom of the screen
        !            17: 
        !            18: Modified  7/5/81: added argument count to M-^P and M-^N
        !            19: Modified  9/23/81: fixed two window brain damage and cleaned it up
        !            20: 
        !            21:        �
        !            22:        ^�~0
        !            23:                |�
        !            24:                        �~2=-1    Loop off thre screen
        !            25:                                �0
        !            26:                        �
        !            27:                        �
        !            28:                        �
        !            29:                        � 
        !            30:                                �0
        !            31:                        �
        !            32:                �
        !            33:        �
        !            34: 
        !            35: �             Move the cursor to the last line
        !            36:        �
        !            37:        ^�~0
        !            38:                |�
        !            39:                        �~2=-1    Loop off thre screen
        !            40:                                �0
        !            41:                        �
        !            42:                        �
        !            43:                        �
        !            44:                        � 
        !            45:                                �0
        !            46:                        �
        !            47:                �
        !            48:        �
        !            49: 
        !            50: �             Move the cursor to the middle of the screen
        !            51:        �6�0=
        !            52:        �7�12~0=6
        !            53:        7�14~72
        !            54:        7
        !            55: 
        !            56: �             Scroll up one line when on top line
        !            57:        ^�3~0
        !            58:                �12~1    Loop
        !            59:                ��0
        !            60:        �
        !            61: 
        !            62: �             Scroll down one line
        !            63:        ^�3~0
        !            64:                �12~1    Loop
        !            65:                ��0
        !            66:        �
        !            67:        �0
        !            68: 
        !            69: 
        !            70: 

unix.superglobalmegacorp.com

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