home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 198_01 / bader.doc < prev    next >
Text File  |  1990-01-23  |  8KB  |  233 lines

  1. *******************************************************************************
  2. This file includes the documentation of changes that William Bader
  3. has made.
  4. *******************************************************************************
  5.  
  6.  
  7. < Additions to micro-emacs 3.9 >
  8.  
  9. For VT100 style terminals, the arrow keys and keypad keys can be
  10. bound to commands.  The arrow keys are initially bound to single character
  11. movement commands.  The keypad keys are initially bound to EDT-like commands.
  12. The only execptions are:
  13.     HELP - bound to describe-key. This command waits for a key
  14. to be pressed and tells what the key does.
  15.     GOLD HELP - bound to apropos. This command prompts for a string
  16. and displays a list of all commands related to the string in a new window.
  17. To delete the window, use ^X 0
  18.     REPLACE - prompts for pattern and replacement and replaces
  19. all matching strings in buffer.
  20.     DELETE CHARACTER - does not save the character unless there is a
  21. repeat count.
  22.     UNDELETE CHAR/WORD/LINE - there is only one kill buffer, so the
  23. all the undelete commands are just bound to the yank command.
  24.     SELECT - the selected region is not highlighted.
  25.  
  26. Changes from standard emacs:
  27.     Since arrow keys and function keys generate escape sequences,
  28. an extra character is read after an escape is typed.
  29. This means prompts that read a string until <META> will not return
  30. until another character is types.  As a fix, any function key
  31. (i.e. an arrow key or a keypad key) can be used to terminate the string.
  32. For example when entering a search string, terminate the string with
  33. a keypad key (like in EDT) instead of ESCAPE.
  34. Also, the GOLD key is bound normally to the meta-prefix command.
  35. This means to enter a <META> prefixed key to commands that ask for keys
  36. (like bind-to-key or describe-key), you can must use the ESCAPE.
  37. For example, describe-key GOLD would immediately come back with
  38. meta-prefix, while describe-key ESCAPE would wait for another key
  39. to be pressed.
  40.  
  41.  
  42.     Other commands:
  43.  
  44. ESC ^B    Find matching fence    (same as ESC ^F)
  45.  
  46. ESC J    Fill paragraph        (same as ESC Q)
  47.  
  48. ^X ^D    Describe key        (same as ^X ?)
  49.  
  50. ^@    Set mark        (same as ESC space)
  51.  
  52. ^X 4    Find file into another window
  53.     If there is another window, go to it, otherwise split the current
  54.     window.  Find a file in the new window.
  55.  
  56. char-to-octal-insert (unbound)
  57.     Insert a C format octal escape sequence for the next key pressed.
  58.  
  59. string-length (unbound)
  60.     If the cursor is inside a quoted string, print its length.
  61.  
  62. auto-mode (bound to ESC ^X FN R)
  63.     Enters CMODE for .a, .c, .h, .p and .f extensions.
  64.  
  65. Autosave mode saves the file with a .asv extension instead of
  66.     its original extension.
  67.  
  68. recover-file (unbound)
  69.     Replaces the current file with its autosaved version.
  70.  
  71. auto-save-file (unbound)
  72.     Makes a backup the file in the current buffer using the
  73.     autosave mode .asv extension.
  74.  
  75. scroll-forward / scroll-backward (unbound)
  76.     Scrolls the screen horizontally and moves the cursor.
  77.  
  78. suspend-emacs (ESC S)
  79.     Attaches to a parent of the current process if possible.
  80.  
  81. revert-file (unbound)
  82.     Replaces the current file with the last version written to disk.
  83.  
  84. previous-buffer (unbound)
  85.     Displays the previous buffer. (inverse of next-buffer)
  86.  
  87. yank-character (bound to GOLD ,)
  88.     Restores the last deleted character.
  89.  
  90. cut-region (bound to keypad 6)
  91.     Like kill-region, but also clears the mark.
  92.  
  93. $advance (environment variable)
  94.     EDT advance/backup flag
  95.  
  96. $vt100key (environment variable)
  97.     When set, the next character after an escape is always read.
  98.     Default is true on xenix vt200, false otherwise.
  99.     On xenix, the value may be set by the environment variable vt100key.
  100.  
  101. smooth-next-page (unbound)
  102. smooth-previous-page (unbound)
  103.     Like next-page and previous-page, but only scoll about 2/3 of the
  104.     window and update after each line on vt100's.
  105.  
  106. narrow-buffer-to-region (bound to ^X <)
  107.     Hides all text in the buffer except for the region.
  108.     Commands that usually operate on the entire buffer will only
  109.     touch the narrowed region.
  110.  
  111. widen-buffer (bound to ^X >)
  112.     Restores the hidden areas of a narrowed buffer.
  113.  
  114. describe-variables
  115. describe-functions
  116.     Displays a list of variables or functions.
  117.  
  118. display
  119.     Prompts for a variable and displays its value.
  120.  
  121. execute-buffer, select-buffer, kill-buffer
  122.     Now perform command completion on the buffer name.
  123.  
  124. (mode line)
  125.     Now shows if a buffer was truncated (#) or narrowed (<>).
  126.     On machines without virtual memory, buffers are truncated if there
  127.     is not enough memory to hold the entire file.
  128.  
  129. $hardtab
  130. $softtab
  131.     Hard tab is the size that a TAB character should move.
  132.     Soft tab is the size that the insert-tab command uses.
  133.  
  134. In MAGIC mode, & in replace strings are replaced by the matched text.
  135.  
  136. $hscroll
  137. $hjump
  138.     When $hscroll is set, the whole screen will scroll horizontally
  139.     instead of just the current line.
  140.     $hjump is the number of spaces to move.
  141.  
  142. -t (command line option)
  143.     On Xenix and VMS, keeps flow control to the terminal enabled.
  144.  
  145. -i<variable name> <initial value> (command line option)
  146.     Sets an initial value for a variable.
  147.  
  148. -c (command line option)
  149.     Clears view mode flag (enabled by a previous -v).
  150.  
  151. $cbflags
  152.     The flags for the current buffer.
  153.     (Bits = invisible, changed, truncated, narrowed)
  154.  
  155. >c, &ban, &bor, &bxo, &bno
  156.     Functions for getting a command, binary and, binary or,
  157.     binary xor and binary not.
  158.  
  159. BINARY mode
  160.     On MSDOS, opens files in binary mode.
  161.  
  162. < Internal changed to MicroEmacs >
  163.  
  164.     Filled in routines in spawn.c for VMS.
  165.     Added ADM3A support into vmsvt.c for unknown terminals.
  166.     Added support for 80/132 column mode on VT100 terminals under
  167.         VMS and TERMCAP.
  168.     Redid search scanner so no subroutines calls are made until
  169.         the first character of the pattern is matched.
  170.     Redid parts of display.c to eliminate processes that require
  171.         one subroutine call per character.
  172.     Added fastputc macro that does the equivalent of ttputc
  173.         under VMS and USG.
  174.     Changed VMS part of termio not to abort on input data overruns.
  175.     Added a fast key lookup area so normal keys, the special 'C'
  176.         function done after every command, and the last command
  177.         executed can be found directly without looping through all
  178.         the key bindings.
  179.     Created a callable interface that allows other programs to
  180.         link to emacs and call it like a subroutine.
  181.     Can correcly read, display, and write out files with any ascii
  182.         character from 0 to 255.
  183.     Changed routines in fileio.c to use macro versions of fgetc and fputc.
  184.     Added partial support for vt100 style scrolling regions.
  185.     Added smooth scroll functions that work like edt.
  186.     Added functions to scroll the screen left and right.
  187.     Added support for vt200 style escape sequences.
  188.         esc [ digits ~ becomes SPEC | c where c is what would be
  189.         generated if you hit the key with the ascii value of 'digits'.
  190.     Changed splitwindow to save a pointer to the new window so things
  191.         that call it have the option of setting curwp to it.
  192.     For DECEDT, binding meta-prefix or ctlx-prefix does not undo old keys.
  193.     In macro files, FN# represents esc [ # ~.
  194.     Next-line and previous-line do not reset goal at buffer boundaries.
  195.     Added support for ansi color in tcap.c.
  196.     Added BINARY mode for MSDOS.
  197.  
  198.     Fixed random bugs due to mismatched arguments on subroutine calls.
  199.  
  200. < Compilation attempts >
  201.     Compiled and ran succesfully on
  202.         Vax11c under VMS 4.1 on a VAX-11/750
  203.         Microsoft C 5.0 under MSDOS 3.20
  204.             (compiler crashes or generates incorrect code
  205.             when full optimization enabled)
  206.         Turbo C 1.5 under MSDOS 3.20
  207.         CI86 2.30J under MSDOS 3.20
  208.         Microsoft C under XENIX 386
  209.         cc under SunOS 3.5? on a Sun 3/360C
  210.         cc under SunOS 4.0 on a Sun 386i
  211.         cc under BSD2.9 on a PDP-11/70
  212.             (used separate I/D space)
  213.     Compiled but did not run on
  214.         decusc under RSX11M on a PDP-11/73
  215.             (would not link because decusc can not generate
  216.             I/D tasks)
  217.  
  218.  
  219. < Menu System >
  220.             
  221. To enable the menu bar, run "emacs -m".
  222.  
  223. The command that goes to the menu area is named "menu", but
  224. currently not bound to any key.
  225.  
  226. Move around in the menus with the arrow keys.
  227.  
  228. On the top line, <- and -> go left and right,
  229. /\ returns to editing, and \/ pulls down a submenu.
  230.  
  231. In a submenu, <- goes back one level, -> selects the highlighted option,
  232. /\ goes up one line, and \/ goes down one line.
  233.