Annotation of researchv9/cmd/emacs/macros/tty5420.pad, revision 1.1.1.1

1.1       root        1:       Teletype 5420 cursor pad interpreter
                      2: 
                      3:       Paul F. Kellogg
                      4: 
                      5:       These macros handle the teletype 5420 cursor pad keys.
                      6:       It assumes the terminal is set up in the "send edit seq"
                      7:       mode.
                      8: 
                      9:       Key                     Meaning
                     10:       clear scrn              kill present screen
                     11:       clear line              kill present line
                     12:       (SHIFT) reset           redraw the screen
                     13:       del char                delete the present character
                     14:       del line                delete to the end of the line
                     15:       del word                delete the next word
                     16:       ins char, ins line      undefined
                     17:       roll up (down)          move up (down) 5 lines
                     18:       top (bottom)            move to the top (bottom) of the file
                     19:       page up (down)          move one page up (down)
                     20:       arrows                  move in the indicated direction
                     21:       f1 - f8                 undefined
                     22: 
                     23: 
                     24: �Cursor keys that start with esc-[
                     25:        !�-<
                     26:                �A             up
                     27:                        
                     28:                        �
                     29:                �B             down
                     30:                        
                     31:                        �
                     32:                �C             right
                     33:                        
                     34:                        �
                     35:                �D             left
                     36:                        
                     37:                        �
                     38:                �H             upper left arrow
                     39:                        0g
                     40:                        �
                     41:                �V             page up
                     42:                        �
                     43:                        �
                     44:                �U             page down
                     45:                        
                     46:                        �
                     47:                �S             roll up
                     48:                        5
                     49:                        �
                     50:                �T             roll down
                     51:                        5
                     52:                        �
                     53:                �2             clear
                     54:                        !�-<
                     55:                                �J             clear scrn
                     56:                                        0g�20
                     57:                                        �
                     58:                                �K             clear line
                     59:                                        &�
                     60:                                        �
                     61:                                ��     default
                     62:                                        �
                     63:                                �
                     64:                        �
                     65:                �P             del char
                     66:                        
                     67:                        �
                     68:                �M             del line
                     69:                        
                     70:                        �
                     71:                �4             insert
                     72:                        !�-<
                     73:                                �h             ins char
                     74:                                        �
                     75:                                ��     default
                     76:                                        �
                     77:                                �
                     78:                        �
                     79:                �L             ins line
                     80:                        �
                     81:                ��     default
                     82:                        �
                     83:                �
                     84: 
                     85: �lower left arrow key
                     86:        19g
                     87: 
                     88: �top of file key
                     89:        �
                     90: 
                     91: �bottom of file key
                     92:        �
                     93: 
                     94: �reset screen key
                     95:        
                     96: 
                     97: �system programmable function keys
                     98:        !�-<
                     99:                �c             f1
                    100:                        �
                    101:                �d             f2
                    102:                        �
                    103:                �e             f3
                    104:                        �
                    105:                �f             f4
                    106:                        �
                    107:                �g             f5
                    108:                        �
                    109:                �h             f6
                    110:                        �
                    111:                �i             f7
                    112:                        �
                    113:                �j             f8
                    114:                        �
                    115:                �
                    116: 

unix.superglobalmegacorp.com

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