🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #9092

VM 5.32 quick reference card

#9092
From: Sebastian Kremer
Date: Wed, 11 Mar 1992 12:34
461 lines
15580 bytes
I updated the VM 4 (!) reference card that comes with VM 5.32:

    %  Changes for VM 5:  Added most commands new in VM 5 while
    %  restructuring it a bit to keep it on two pages.  Cleaned up some
    %  explanations.  Made font usage more consistent.  Introduced
    %  indentation and dots to group related cmds together.
    %
    %  I haven't touched \hsize, \voffset, \voffset etc. though the format
    %  certainly seems very strange, at least on European A4 paper (lots
    %  of free space at the bottom and right margin).

Changes are mostly marked with `sk'.  I think it is up to date with VM
5.32 now, including marks and window configuration.  I even learned
some new commands...

Kyle, feel free to use this for the next release.

-Sebastian

% Quick Reference Card for VM 5 under GNU Emacs version 18 on Unix systems
%**start of header
\newcount\columnsperpage

% This file can be printed with 1, 2, or 3 columns per page (see below).
% Specify how many you want here.  Nothing else needs to be changed.

\columnsperpage=2

% Copyright (c) 1989 Free Software Foundation, Inc.

% This file is part of GNU Emacs.

% This file is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY.  No author or distributor
% accepts responsibility to anyone for the consequences of using it
% or for whether it serves any particular purpose or describes
% any piece of software unless they say so in writing.  Refer to the
% GNU Emacs General Public License for full details.
%
% Permission is granted to copy, modify and redistribute this source
% file provided the copyright notice and permission notices are
% preserved on all copies.
%
% Permission is granted to process this file through TeX and print the
% results, provided the printed document carries copyright and
% permission notices identical to the ones below.

% This file is intended to be processed by plain TeX (TeX82).
%
% The final reference card has six columns, three on each side.
% This file can be used to produce it in any of three ways:
% 1 column per page
%    produces six separate pages, each of which needs to be reduced to 80%.
%    This gives the best resolution.
% 2 columns per page
%    produces three already-reduced pages.
%    You will still need to cut and paste.
% 3 columns per page
%    produces two pages which must be printed sideways to make a
%    ready-to-use 8.5 x 11 inch reference card.
%    For this you need a dvi device driver that can print sideways.
% Which mode to use is controlled by setting \columnsperpage above.
%
% VMREFCARD 2.0 - 10-Mar-1992 by Sebastian Kremer <sk@thp.uni-koeln.de>
%  Changes for VM 5:  Added most commands new in VM 5 while
%  restructuring it a bit to keep it on two pages.  Cleaned up some
%  explanations.  Made font usage more consistent.  Introduced
%  indentation and dots to group related cmds together.
%
%  I haven't touched \hsize, \voffset, \voffset etc. though the format
%  certainly seems very strange, at least on European A4 paper (lots
%  of free space at the bottom and right margin).
%
% VMREFCARD 1.0 - October 9, 1989 - jgraf@mipos3.intel.com
%  Hacked up vipcard.tex by msato which was hacked from refcard.tex
%  by sgildea.  No doubt a tradition for years to come.
%
% Author:
%  Masahiko Sato
%  Internet: ms@sail.stanford.edu
%  Junet: masahiko@sato.riec.tohoku.junet
%
% The original TeX code for formatting the reference card was written by:
%  Stephen Gildea
%  UUCP: mit-erl!gildea
%  Internet: gildea@erl.mit.edu


\def\versionnumber{2.0}
\def\year{1992}
\def\version{March \year\ v\versionnumber}
\def\~{\char`~}			% an ASCII tilde character

\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
  \centerline{\small \copyright\ \year\ Kyle Jones
  Permissions on back.  v\versionnumber}}

\def\copyrightnotice{
%\vskip 1ex plus 2 fill\begingroup\small
\vskip 1ex \begingroup\small
\centerline{Copyright \copyright\ \year\ Kyle Jones}
\centerline{refcard redesigned by sk@thp.uni-koeln.de, \version}
\centerline{for VM 5 under GNU Emacs version 18 on Unix systems}

Permission is granted to make and distribute copies of
this card provided the copyright notice and this permission notice
are preserved on all copies.

\endgroup}

% make \bye not \outer so that the \def\bye in the \else clause below
% can be scanned without complaint.
\def\bye{\par\vfill\supereject\end}

\newdimen\intercolumnskip
\newbox\columna
\newbox\columnb

\def\ncolumns{\the\columnsperpage}

\message{[\ncolumns\space 
  column\if 1\ncolumns\else s\fi\space per page]}

\def\scaledmag#1{ scaled \magstep #1}

% This multi-way format was designed by Stephen Gildea
% October 1986.
% Slightly modified by Masahiko Sato, September 1987.
\if 1\ncolumns
  \hsize 4in
  \vsize 10in
  %\voffset -.7in
  \voffset -.57in
  \font\titlefont=\fontname\tenbf \scaledmag3
  \font\headingfont=\fontname\tenbf \scaledmag2
  \font\miniheadingfont=\fontname\tenbf \scaledmag1 % masahiko
  \font\smallfont=\fontname\sevenrm
  \font\smallsy=\fontname\sevensy

  \footline{\hss\folio}
  \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
\else
  %\hsize 3.2in
  %\vsize 7.95in
  \hsize 3.41in % masahiko
  \vsize 8in % masahiko
  \hoffset -.75in
  \voffset -.745in
  \font\titlefont=cmbx10 \scaledmag2
  \font\headingfont=cmbx10 \scaledmag1
  \font\miniheadingfont=cmbx10 % masahiko
  \font\smallfont=cmr6
  \font\smallsy=cmsy6
  \font\eightrm=cmr8
  \font\eightbf=cmbx8
  \font\eightit=cmti8
  \font\eightsl=cmsl8
  \font\eighttt=cmtt8
  \font\eightsy=cmsy8
  \textfont0=\eightrm
  \textfont2=\eightsy
  \def\rm{\eightrm}
  \def\bf{\eightbf}
  \def\it{\eightit}
  \def\sl{\eightsl} % masahiko
  \def\tt{\eighttt}
  \normalbaselineskip=.8\normalbaselineskip
  \normallineskip=.8\normallineskip
  \normallineskiplimit=.8\normallineskiplimit
  \normalbaselines\rm		%make definitions take effect

  \if 2\ncolumns
    \let\maxcolumn=b
    \footline{\hss\rm\folio\hss}
    \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  \else \if 3\ncolumns
    \let\maxcolumn=c
    \nopagenumbers
  \else
    \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
    \errmessage{Illegal number of columns per page}
  \fi\fi

  %\intercolumnskip=.46in
  \intercolumnskip=.19in % masahiko .19x4 + 3.41x3 = 10.99
  \def\abc{a}
  \output={%
      % This next line is useful when designing the layout.
      %\immediate\write16{Column \folio\abc\space starts with \firstmark}
      \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
      \else\if a\abc
	\global\setbox\columna\columnbox \global\def\abc{b}
        %% in case we never use \columnb (two-column mode)
        \global\setbox\columnb\hbox to -\intercolumnskip{}
      \else
	\global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
  \def\multicolumnformat{\shipout\vbox{\makeheadline
      \hbox{\box\columna\hskip\intercolumnskip
        \box\columnb\hskip\intercolumnskip\columnbox}
      \makefootline}\advancepageno}
  \def\columnbox{\leftline{\pagebody}}

  \def\bye{\par\vfill\supereject
    \if a\abc \else\null\vfill\eject\fi
    \if a\abc \else\null\vfill\eject\fi
    \end}  
\fi

% we won't be using math mode much, so redefine some of the characters
% we might want to talk about
\catcode`\^=12
\catcode`\_=12

\chardef\\=`\\
\chardef\{=`\{
\chardef\}=`\}

\hyphenation{mini-buf-fer}

\parindent 0pt
\parskip 1ex plus .5ex minus .5ex

\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}

\outer\def\newcolumn{\vfill\eject}

\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}

\outer\def\section#1{\par\filbreak
  \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  \vskip 2ex plus 1ex minus 1.5ex}

% masahiko
\outer\def\subsection#1{\par\filbreak
  \vskip 2ex plus 2ex minus 2ex {\miniheadingfont #1}\mark{#1}%
  \vskip 1ex plus 1ex minus 1.5ex}

\newdimen\keyindent

% \def\beginindentedkeys{\keyindent=1em}
% \def\endindentedkeys{\keyindent=0em}
% \endindentedkeys
% Make it nestable, sk 10-Mar-1992 13:32
\keyindent=0em
\def\beginindentedkeys{\advance\keyindent by 1em}
\def\endindentedkeys{\advance\keyindent by -1em}

\def\paralign{\vskip\parskip\halign}

\def\<#1>{$\langle${\rm #1}$\rangle$}

\def\kbd#1{{\tt#1}\null}	%\null so not an abbrev even if period follows

\def\beginexample{\par\leavevmode\begingroup
  \obeylines\obeyspaces\parskip0pt\tt}
{\obeyspaces\global\let =\ }
\def\endexample{\endgroup}

\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.75\hsize\rightskip=1em
  \hskip\keyindent\relax#1}\kbd{#2}\hfil}}

\newbox\metaxbox
\setbox\metaxbox\hbox{\kbd{M-x }}
\newdimen\metaxwidth
\metaxwidth=\wd\metaxbox

\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  {\hskip\keyindent\relax#1\hfil}%
  \hskip -\metaxwidth minus 1fil
  \kbd{#2}\hfil}}

\def\fivecol#1#2#3#4#5{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad
  &\kbd{#3}\quad&\kbd{#4}\quad&\kbd{#5}\cr}

\def\fourcol#1#2#3#4{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad
  &\kbd{#3}\quad&\kbd{#4}\quad\cr}

% \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad
%   &\kbd{#3}\quad\cr}
% This is more versatile, -sk:
\def\threecolumn#1#2#3{\hskip\keyindent\relax{#1}\hfil&{#2}\quad 
    &{#3}\quad\cr}
\def\threecol#1#2#3{\threecolumn{#1}{\kbd{#2}}{\kbd{#3}}}

\def\twocol#1#2{\hskip\keyindent\relax\kbd{#1}\hfil&\kbd{#2}\quad\cr}

\def\twocolkey#1#2#3#4{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad&\relax#3\hfil&\kbd{#4}\quad\cr}

%**end of header

\beginindentedkeys

\title{VM (View Mail) Reference Card}
% Cannot afford this, need the space.  This info is mentioned at the
% end now, amongst the small print. -sk
%\centerline{(for version 5 under GNU Emacs version 18)}
%
%\copyrightnotice

\section{VM Major Mode}

To invoke VM type \kbd{M-x vm}

\subsection{Selecting and Previewing Mail}

\key{go to next message}{n}
\key{go to previous message}{p}
\key{like {\tt n} but ignore skip-variable setting}{N}
\key{like {\tt p} but ignore skip-variable setting}{P}
\key{go to next unread message}{M-n}
\key{go to previous unread message}{M-p}
\key{go to numbered message (uses prefix arg)}{RET}
\key{go to last message seen}{TAB}
\key{incremental search through folder}{M-s}

\key{display folder summary}{h {\rm or} =}
\key{display hidden headers}{t}
\key{scroll forward a page (or display next msg)}{SPC}
\key{scroll back a page}{b {\rm or} DEL}
\key{go to start of current message}{<}
\key{go to end of current message}{>}

\subsection{Deleting mail}
\key{flag current message for deletion}{d}
\beginindentedkeys
\key{\dots{} all msgs with same subj as current msg}{k}
\endindentedkeys
\key{undelete (remove delete flag)}{u}

\subsection{Sending mail from within VM}

\key{compose a piece of mail}{m}
\key{continue composing mail}{c}

\key{reply (only to sender of message)}{r}
\key{reply with included text from current msg}{R}

\key{followup (reply to all recipients of msg)}{f}
\key{followup with included text}{F}

\key{forward the current message}{z}
\key{digestify and mail folder contents}{@}
\beginindentedkeys
\key{\dots{} with preamble}{C-u @}
\endindentedkeys

\key{resend bounced message}{M-r}
\key{resend the current message to another user}{B}

\subsection{Marked messages in VM}

\key{next command uses marks}{M N}

\key{mark current msg}{M M}
\key{unmark current msg}{M U}
\key{mark all messages in current folder}{M m}
\key{unmark all messages in current folder}{M u}

\key{help for mark commands}{M ?}

\subsection{VM Window Configuration}

\key{save current window configuration}{W S}
\key{delete a window configuration}{W D}
\key{apply a configuration}{W W}
\key{help for the window configuration commands}{W ?}

\subsection{Folders}

\key{get any new mail from system mailbox}{g}
\key{visit another mail folder}{v}
\key{visit virtual folder}{V}

\key{group msgs according to criteria}{G}

\key{burst a digest}{*}
\key{save current msg to folder (append if exist)}{s}
\key{write msg to file sans headers (append if exist)}{w}
\key{expunge and save mail folder}{S}
\key{expunge deleted msgs (don't save folder)}{\#}
\key{save unfiled msgs via {\tt vm-auto-folder-alist}}{A}
\key{quit VM, expunge and save folder}{q}
\key{exit VM with no change to folder}{x}

% The placement of this depends on the final page break
% Also, we need the space.
% outcomment it for now, sk 10-Mar-1992 11:27
% \shortcopyrightnotice

\subsection {VM Miscellaneous Commands}

\key{special undo for msg attributes only}{C-_}
\key{help}{?}
\key{reload your VM init file, {\tt \~/.vm}}{L}
\key{edit current msg}{e}
\key{run a shell command}{!}
\key{run a shell cmd with current msg as input}{|}
\beginindentedkeys
\key{\dots{} just on text portion}{C-u |}
\key{\dots{} just on header portion}{C-u C-u |}
\endindentedkeys

\section{EMACS Mail Mode}

\key{compose a piece of mail}{C-x m}
\beginindentedkeys
\key{\dots{} in other window}{C-x 4 m}
\endindentedkeys

\subsection{Mail Mode Commands}

\key{send message, select some other buffer}{C-c C-c}
\beginindentedkeys
\key{\dots{} leave {\tt *mail*} selected}{C-c C-s}
\endindentedkeys

\key{insert file {\tt \~/.signature} at end of message}{C-c C-w}
\key{yank selected message from Rmail/VM}{C-c C-y}
\key{fill paragraphs of yanked messages}{C-c C-q}

If the {\tt *mail*} buffer was entered via the VM command {\bf m}:

\key{copy msg from folder to {\tt *mail*}}{C-c C-y}
\key{to run VM cmd from {\tt *mail*} buffer, prefix by}{C-c C-v}

\subsection{Mail Header Fields}

% Fields that have commands associated with them will move to the 
% appropriate field creating one if needed.
% I found this hard to understand. -sk
%
Commands will move to its associated field, creating it if needed.

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr

\threecolumn{{\bf Field}}{{\bf Purpose}}{{\bf Command}}
\threecolumn{\tt To:}        {mail to address(es)\hfil}{\kbd{C-c C-f C-t}}
\threecolumn{\tt Subject:}   {topic of mail message\hfil}{\kbd{C-c C-f C-s}}
\threecolumn{\tt CC:}        {copy to (appears in header)\hfil}{\kbd{C-c C-f C-c}}
\threecolumn{\tt BCC:}       {copy to (not in header)\hfil}{\kbd{C-c C-f C-b}}
\threecolumn{\tt FCC:}       {save to this file after send\hfil}{}
\threecolumn{\tt From:}      {who sent the mail\hfil}{}
\threecolumn{\tt Reply-To:}  {send replies to address\hfil}{}
\threecolumn{\tt In-Reply-To}{subject of reply\hfil}{}
}

Multiple addresses are separated by commas. % typical novice FAQ
%
The {\tt To}, {\tt CC}, {\tt BCC} and {\tt FCC} fields can appear any
number of times and can have continuation lines (except {\tt FCC}).

\copyrightnotice

\endindentedkeys

\bye

% Local variables:
% compile-command: "tex refcard"
% End:
Technical Details
Message-ID: <199203111234.AA25748@sun0.thp.uni-koeln.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,a56a80deb7999c4,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1992-03-11 04:41:06 PST
Newsgroups: gnu.emacs.vm.bug
Sender: bug-vm-request@uunet.uu.net
Message-ID: <199203111234.AA25748@sun0.thp.uni-koeln.de>
Date:  Wed, 11 Mar 92 13:34:24 +0100
From: Sebastian Kremer <sk@thp.uni-koeln.de>
Subject: VM 5.32 quick reference card
X-Mailer: Epoch 3.2.2, VM 5.32 (beta)
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm