Annotation of researchv9/cmd/emacs/macros/tconv, revision 1.1.1.1

1.1       root        1: Rep
                      2: 
                      3: Version 4.0 to Version 4.2 terminal file conversion package.
                      4: 
                      5: To convert a version 4.0 terminal file to version 4.2, run emacs
                      6: (version 4.0 or 4.2 will do), load (^X^L) tconv, read the old
                      7: description, and invoke meta-x fixterm.  This will convert the
                      8: terminal description, and display it on the screen.  Everything
                      9: except padding information should be propperly converted.  If you
                     10: are satisfied with the conversion, type ^Z, and you will be returned
                     11: to normal emacs.
                     12: 
                     13: 
                     14: Meta-x tfix will fix all of the terminal files in the terminals directory
                     15: DO NOT DO THIS WITH VERSION 4.2 terminal files!!!!
                     16: 
                     17: 
                     18: �|��2-��
                     19: tfix
                     20: 
                     21: Convert Version 4.0 Terminal Files to Version 4.1
                     22: 
                     23: Should be invoked in the emacs source directory to convert all
                     24: descriptions in the terminals directory.
                     25: 
                     26: 
                     27: <.exec
                     28: <ls -l terminals
                     29: ��           Execute, and remove last newline
                     30: �^�         While more terminals
                     31: �conv_tfile
                     32: �
                     33: conv_tfile -- convert entry
                     34: �< 
                     35: <terminals/
                     36: +�Pick up terminal name
                     37: <Terminals
                     38:   Read terminal description
                     39: �fixterm
                     40: 
                     41: fixterm -- fix a single terminal description.
                     42: 
                     43: This macro fixes a single terminal description.  The buffer is assumed
                     44: to contain one terminal description, which is fixed and saved.  Recursive
                     45: edit is invoked for approval of the updated description.
                     46: Everything but delay specifications is fixed.
                     47: 
                     48: &cr=

                     49: �<CO
                     50: co�inc
                     51:                       Increment co, and change name.
                     52: <ic
                     53: <IC
                     54: �Rep
                     55: <ei
                     56: <OC
                     57: �Rep
                     58: <sf
                     59: <sr
                     60: �Rep
                     61: <SR
                     62: |��cs
                     63:        <sr
                     64:        <al
                     65:        �Rep
                     66:        ��
                     67: <bx
                     68: <XB
                     69: �Rep
                     70: <by
                     71: <YB
                     72: �Rep
                     73: <vc
                     74: <VC
                     75: �Rep
                     76: <rc
                     77: <RC
                     78: �Rep
                     79: <.exec
                     80: 
                     81: inc -- increment number
                     82: 
                     83: 
                     84: !� Switch on character
                     85:        �01�  zero
                     86:        �12�  one
                     87:        �23�  two
                     88:        �34�  three
                     89:        �45�  four
                     90:        �56�  five
                     91:        �67�  six
                     92:        �78�  seven
                     93:        �89�  eight
                     94:        �90�inc
                     95:                �      nine (carry into previous digit
                     96: �

unix.superglobalmegacorp.com

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