[BACK]Return to mg.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/mg.1 between version 1.39 and 1.40

version 1.39, 2008/06/15 21:01:55 version 1.40, 2008/06/29 08:28:01
Line 345 
Line 345 
 Count the number of lines not matching the supplied regular expression.  Count the number of lines not matching the supplied regular expression.
 .It define-key  .It define-key
 Prompts the user for a named keymap (mode),  Prompts the user for a named keymap (mode),
 a key, and an mg command, then creates a keybinding in the appropriate  a key, and an
   .Nm
   command, then creates a keybinding in the appropriate
 map.  map.
 .It delete-backward-char  .It delete-backward-char
 Delete backwards  Delete backwards
Line 395 
Line 397 
 .Va n  .Va n
 words away.  words away.
 .It emacs-version  .It emacs-version
 Return an mg version string.  Return an
   .Nm
   version string.
 .It end-kbd-macro  .It end-kbd-macro
 Stop defining a keyboard macro.  Stop defining a keyboard macro.
 .It end-of-buffer  .It end-of-buffer
 Move cursor to the end of the buffer.  Move cursor to the end of the buffer.
 .It end-of-line  .It end-of-line
 Move cursor to the end of the line  Move cursor to the end of the line.
 .It enlarge-window  .It enlarge-window
 Enlarge the current window by shrinking either the window above  Enlarge the current window by shrinking either the window above
 or below it.  or below it.
 .It eval-current-buffer  .It eval-current-buffer
 Evaluate the current buffer as a series of mg commands.  Evaluate the current buffer as a series of
   .Nm
   commands.
 Useful for testing  Useful for testing
 .Nm  .Nm
 startup files.  startup files.
Line 460 
Line 466 
 .It global-set-key  .It global-set-key
 Bind a key in the global (fundamental) key map.  Bind a key in the global (fundamental) key map.
 .It global-unset-key  .It global-unset-key
 Unbind a key from the global (fundamental) key map; i.e. set it to 'rescan'  Unbind a key from the global (fundamental) key map; i.e. set it to 'rescan'.
 .It global-wd-mode  .It global-wd-mode
 Toggle global working-directory mode.  Toggle global working-directory mode.
 When enabled,  When enabled,
Line 477 
Line 483 
 .It insert  .It insert
 Insert a string, mainly for use from macros.  Insert a string, mainly for use from macros.
 .It insert-buffer  .It insert-buffer
 Insert the contents of another buffer at dot  Insert the contents of another buffer at dot.
 .It insert-file  .It insert-file
 Insert a file into the current buffer at dot.  Insert a file into the current buffer at dot.
 .It insert-with-wrap  .It insert-with-wrap
Line 584 
Line 590 
 There are no errors, although the command does not do  There are no errors, although the command does not do
 a lot if there is only 1 window.  a lot if there is only 1 window.
 .It push-shell  .It push-shell
 Suspend mg and switch to alternate screen, if available.  Suspend
   .Nm
   and switch to alternate screen, if available.
 .It pwd  .It pwd
 Display current (global) working directory in the status area.  Display current (global) working directory in the status area.
 .It query-replace  .It query-replace
Line 623 
Line 631 
 n.  n.
 If  If
 .Va n  .Va n
 is negative, it is that line from the bottom  is negative, it is that line from the bottom.
 .It redraw-display  .It redraw-display
 Refresh the display.  Refresh the display.
 Recomputes all window sizes in case something has changed.  Recomputes all window sizes in case something has changed.
Line 631 
Line 639 
 Save the contents of the current buffer if it has been changed,  Save the contents of the current buffer if it has been changed,
 optionally creating a backup copy.  optionally creating a backup copy.
 .It save-buffers-kill-emacs  .It save-buffers-kill-emacs
 Offer to save modified buffers and quit mg.  Offer to save modified buffers and quit
   .Nm .
 .It save-some-buffers  .It save-some-buffers
 Look through the list of buffers, offering to save any buffer that  Look through the list of buffers, offering to save any buffer that
 has been changed.  has been changed.
Line 651 
Line 660 
 .It scroll-one-line-up  .It scroll-one-line-up
 Scroll the display  Scroll the display
 .Va n  .Va n
 lines up without moving the cursor position  lines up without moving the cursor position.
 .It scroll-other-window  .It scroll-other-window
 Scroll the next window in the window list window forward  Scroll the next window in the window list window forward
 .Va n  .Va n
Line 691 
Line 700 
 Prompt the user for a fill column.  Prompt the user for a fill column.
 Used by auto-fill-mode.  Used by auto-fill-mode.
 .It set-mark-command  .It set-mark-command
 Sets the mark in the current window to the current dot location  Sets the mark in the current window to the current dot location.
 .It set-prefix-string  .It set-prefix-string
 Sets the prefix string to be used by the 'prefix-region' command.  Sets the prefix string to be used by the 'prefix-region' command.
 .It shrink-window  .It shrink-window
Line 708 
Line 717 
 Start defining a keyboard macro.  Start defining a keyboard macro.
 Macro definition is ended by invoking end-kbd-macro.  Macro definition is ended by invoking end-kbd-macro.
 .It suspend-emacs  .It suspend-emacs
 Suspend mg and switch back to alternate screen, if in use.  Suspend
   .Nm
   and switch back to alternate screen, if in use.
 .It switch-to-buffer  .It switch-to-buffer
 Prompt and switch to a new buffer in the current window.  Prompt and switch to a new buffer in the current window.
 .It switch-to-buffer-other-window  .It switch-to-buffer-other-window
Line 735 
Line 746 
 .It upcase-region  .It upcase-region
 Upper case region.  Upper case region.
 Change all of the lower case characters in the region to  Change all of the lower case characters in the region to
 upper case  upper case.
 .It upcase-word  .It upcase-word
 Move the cursor forward by the specified number of words.  Move the cursor forward by the specified number of words.
 As you move, convert any characters to upper case.  As you move, convert any characters to upper case.
Line 754 
Line 765 
 changed flag.  changed flag.
 .It yank  .It yank
 Yank text from kill-buffer.  Yank text from kill-buffer.
 Unlike emacs, the mg kill buffer consists only  Unlike emacs, the
   .Nm
   kill buffer consists only
 of the most recent kill.  of the most recent kill.
 It is not a ring.  It is not a ring.
 .El  .El

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40