home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / document / visualma.txt < prev    next >
Text File  |  1992-11-05  |  5KB  |  96 lines

  1. These are the escape sequences for the vt100 PF Keys.
  2. \033 signifies octal 33, or Escape (ESC).
  3.  
  4.   KEY        SEQUENCE     MTS VISUAL EDITOR COMMAND
  5.   PF  0      \033Op       update screen with changes
  6.   PF  1      \033Oq       display 10 lines back
  7.   PF  2      \033Or       copy data to work field
  8.   PF  3      \033Os       display to line 1 of file
  9.   PF  4      \033Ot       display forward 10 lines
  10.   PF  5      \033Ou       insert work field at cursor
  11.   PF  6      \033Ov       display to line 1000
  12.   PF  7      \033Ow       display forward 1 line
  13.   PF  8      \033Ox       execute work field as a command
  14.   PF  9      \033Oy       display to end of file
  15.   PF 10      \033OP       insert null lines
  16.   PF 11      \033OQ       extend current line
  17.   PF 12      \033OR       display to previous file location
  18.   PF 13      \033OS       display 10 lines back
  19.   PF 14      \033Om       copy data to work field
  20.   PF 15      \033Ol       display to line 1 of file
  21.   PF 16      \033OM       display forward 10 lines
  22.   PF 17      \033On       insert work field at cursor
  23. Cursor Keys
  24.   Up         \033[A
  25.   Down       \033[B
  26.   Right      \033[C
  27.   Left       \033[D
  28.  
  29. The vt100 keypad on the Macintosh looks like this:
  30.  
  31.  _______________________________________________________________________
  32. |                 |                 |                 |                 |
  33. | insert null     | extend current  | display to      | display 10      |
  34. | lines           | line            | previous file   | lines back      |
  35. |                 |                 | location        |                 |
  36. |                 |                 |                 |                 |
  37. | PF 10           | PF 11           | PF 12           | PF 13           |
  38. |                 |                 |                 |                 |
  39. |_________________|_________________|_________________|_________________|
  40. |                 |                 |                 |                 |
  41. | display forward | execute work    | display to end  | copy data to    |
  42. | 1 line          | field as a      | of file         | work field      |
  43. |                 | command         |                 |                 |
  44. |                 |                 |                 |                 |
  45. | PF 7            | PF 8            | PF 9            | PF 14           |
  46. |                 |                 |                 |                 |
  47. |_________________|_________________|_________________|_________________|
  48. |                 |                 |                 |                 |
  49. | display forward | insert work     | display to      | display to line |
  50. | 10 lines        | field at        | line 1000       | 1 of file       |
  51. |                 | cursor          |                 |                 |
  52. |                 |                 |                 |                 |
  53. | PF 4            | PF 5            | PF 6            | PF 15           |
  54. |                 |                 |                 |                 |
  55. |_________________|_________________|_________________|_________________|
  56. |                 |                 |                 |                 |
  57. | display 10      | copy data to    | display to      |                 |
  58. | lines back      | work field      | line 1 of file  |                 |
  59. |                 |                 |                 |                 |
  60. |                 |                 |                 |                 |
  61. | PF 1            | PF 2            | PF 3            | display forward |
  62. |                 |                 |                 | 10 lines        |
  63. |_________________|_________________|_________________|                 |
  64. |                                   |                 |                 |
  65. | update screen with current        | insert work     | PF 16           |
  66. | changes                           | field at        |                 |
  67. |                                   | cursor          |                 |
  68. |                                   |                 |                 |
  69. | PF 0                              | PF 17           |                 |
  70. |                                   |                 |                 |
  71. |___________________________________|_________________|_________________|
  72.  
  73.  
  74. Some functions of the MTS visual editor are activated by control sequences.
  75. Here is a list of them.
  76.  
  77.   CONTROL SEQUENCE       FUNCTION
  78.  
  79.   Control-E              Exit visual mode
  80.   Control-C              Exit visual mode, work area in conversation buffer
  81.   Control-Z              Cursor to end of line
  82.   Control-B              Cursor to beginning of line
  83.   Control-V              Cursor to work field
  84.   Control-T              Cursor to top left of screen
  85.   Control-K              Cursor to start of previous line
  86.   Control-M              Cursor to start of next line (return)
  87.   Control-H              Cursor to previous character (backspace)
  88.   Control-I              Tab
  89.   Control-D              Delete character at cursor
  90.   Control-W              Delete word at cursor
  91.   Control-X              Delete from cursor to end of line
  92.   Control-A              Toggle insert mode
  93.   Control-G              Rewrite line without current changes
  94.   Control-L              Rewrite screen without current changes
  95.   Control-R              Rewrite screen with current changes
  96.