Using a pager from within 'mail'

ifas730 at ccwf.cc.utexas.edu ifas730 at ccwf.cc.utexas.edu
Sun Nov 18 14:18:28 AEST 1990


In article <1990Nov17.190806.15414 at athena.mit.edu> ramon at skye.mit.edu (Ramon F Herrera) writes:
>Is there any way to use 'more' from within the mail program
>to see long messages one page at a time??
>
>The scrolling speeds these days are exceeding the reflexes
>needed to press ^S ans ^Q.

On a BSD machine, mail has a more subcommand.  Just type 'more #', where
# is the message number.  I don't know if the mail program on a SysV machine
has the more subcommand, so another solution is to create a .mailrc file
in your home directory with the following two lines:
   set crt=24
   set PAGER=pg
On a BSD machine, set PAGER to more.
This will allow you to use the print or type subcommands for long messages.
Crt determines how long the message must be before the PAGER is used.

I hope this helps.

Kathy



More information about the Comp.unix.questions mailing list