more in mail/mailx???

Jonathan I. Kamens jik at athena.mit.edu
Fri Jun 29 23:47:14 AEST 1990


In article <28412.268ab7ae at vaxb.acs.unt.edu>, valeyard at vaxb.acs.unt.edu writes:
|> How can I get mail/mailx to more a letter rather than just cat'ing
the thing to
|> my screen?

  I seem to recall seeing this question being asked at least once before
since the beginning of the summer.  Perhaps it's time to add it to the
FAQ posting?

  From mail(1):

     The following options have string values:

     ...

     crt            The valued option crt is used as a threshold
                    to determine how long a message must be
                    before PAGER is used to read it.

IN other words, you set the crt option to a number, and any mail message
with more than that number of lines gets piped through

     PAGER          Pathname of the program to use in the more
                    command or when crt variable is set.  A
                    default paginator is used if this option is
                    not defined.

  Note that this is referring to the Berkeley mail program; I don't know
about SysV mail (although the one SysV-based system to which I have
access doesn't appear to mention any options of this sort in its man
page for mail) or about mailx (perhaps someone else can jump in and
answer about mailx :-).  Note also that /bin/mail on Berkeley systems
doesn't have these options; only /usr/ucb/mail does.

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710



More information about the Comp.unix.questions mailing list