# xmh Reference Guide

## Table 1. Folder (menu of global commands)

`Open Folder` (accelerator: choose folder name with button 2)
  View the selected folder
`Open Folder In New Window`
  Open selected folder in new main window
`Create Folder`
  Make a new folder
`Delete Folder`
  Delete folder and any subfolders
`Close Window`
  Close this main window

## Table 2. Table of Contents (menu for handling viewed folder)

`Incorporate New Mail`, more... (accelerator: META-SHIFT-I)
  Bring new mail into folder(s)
`Commit Changes` (accelerator: META-SHIFT-C)
  Process all marked messages (delete, link, move)
`Pack Folder` (accelerator: META-SHIFT-P)
  Renumber messages as 1, 2, ...
`Sort Folder` (accelerator: META-SHIFT-S)
  Order messages by date sent
`Rescan Folder` (accelerator: META-SHIFT-R)
  Force Table of Contents update

## Table 3. Message (menu for handling current or selected message)

`Compose`, more...
  Start a new message
`View Next Message` (accelerators: META-Space, META-N)
  View just-selected or next message
`View Previous` (accelerator: META-P)
  View just-selected or previous message
`Delete` (accelerator: META-D)
  Mark message(s) for deletion
`Move` (accelerator: choose folder name with button 3)
  Mark message(s) for moving to selected folder
`Copy as Link` (accelerator: META-C)
  Mark message(s) for linking to selected folder
`Unmark` (accelerator: META-U)
  Un-do the move, delete, and link mark on selected message(s)
`View in New`
  Show message in separate view window
`Reply`, more... (accelerator: META-R)
  Reply to message
`Forward`, more... (accelerator: META-F)
  Forward copy of message(s)
`Use as Composition`
  Open message (usually from drafts folder) in composition window
`Print`, more...
  Print message(s)

## Table 4. Sequence (menu for message sequences and searching)

  Search for messages
`Open Sequence`, more...
  View the selected sequence
`Add to Sequence`
  Add selected messages to the selected sequence
`Remove from Sequence`
  Remove selected messages from the selected sequence
`Delete Sequence`
  Remove selected sequence (the list of message numbers, not the messages themselves).

## Table 5. View (menu for handling viewed message)

`Reply`, more...
  Reply to viewed message
`Forward`, more...
  Forward copy of viewed message
`Use as Composition`
  Open message (usually from drafts folder) in composition window
`Edit Message`
  Edit viewed message
`Save Message`
  Save message during Edit Message
`Print`, more...
  Print viewed message

## Table 6. Options (menu that may be longer some day)

`Read in Reverse`
  Swap meaning of "next" and "previous" message

## Table 7. Composition window (Buttonbox for handling drafts)

`Close Window`, more...
  Close composition window
`Send`, more...
  Send composition
`New Headers`
  Replace composition with empty message
`Compose Message`
  Open another composition window
`Save Message`
  Save this composition
`Insert`
  Insert copy of message being replied to

## Table 8. xmh Text Editing Commands (Adapted from xmh(1) manual page)

CTRL-A
  Beginning Of Line
CTRL-B
  Backward Character
CTRL-D
  Delete Next Character
CTRL-E
  End Of Line
CTRL-F
  Forward Character
CTRL-G
  Multiply Reset
CTRL-H
  Delete Previous Character
CTRL-J
  Newline And Indent
CTRL-K
  Kill To End Of Line
CTRL-L
  Redraw Display
CTRL-M
  Newline
CTRL-N
  Next Line
CTRL-O
  Newline And Backup
CTRL-P
  Previous Line
CTRL-R
  Search/Replace Backward
CTRL-S
  Search/Replace Forward
CTRL-T
  Transpose Characters
CTRL-U
  Multiply by 4
CTRL-V
  Next Page
CTRL-W
  Kill Selection
CTRL-Y
  Unkill
CTRL-Z
  Scroll One Line Up

META-B
  Backward Word
META-D
  Delete Next Word
META-SHIFT-D
  Kill Word
META-F
  Forward Word
META-H
  Delete Previous Word
META-SHIFT-H
  Backward Kill Word
META-I
  Insert File
META-K
  Kill to End of Paragraph
META-Q
  Form Paragraph
META-V
  Previous Page
META-Y
  Insert Current Selection
META-Z
  Scroll One Line Down
META-<
  Beginning of File
META->
  End of File
META-[
  Backward Paragraph
META-]
  Forward Paragraph
META-Backspace
  Delete Previous Word
META-SHIFT-Backspace
  Kill Previous Word
META-Delete
  Delete Previous Word
META-SHIFT-Delete
  Kill Previous Word