Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: more in mail/mailx??? Message-ID: <1990Jun29.134714.14451@athena.mit.edu> Date: 29 Jun 90 13:47:14 GMT References: <28412.268ab7ae@vaxb.acs.unt.edu> Sender: news@athena.mit.edu (News system) Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Organization: Massachusetts Institute of Technology Lines: 38 In article <28412.268ab7ae@vaxb.acs.unt.edu>, valeyard@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@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8495 Home: 617-782-0710