🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #48

Re: .mailrc question

#48
From: Philip A Guenther
Date: Mon, 02 Nov 1992 17:36
40 lines
2033 bytes
In article <1culd3INNci@darkstar.UCSC.EDU> aryeh@cash.ucsc.edu (Aryeh Friedman) writes:
   In article <1992Oct26.180957.7162@ariel.ec.usf.edu> drc@gauss.math.usf.edu. (David Cabana) writes:
   >I am using the SET CRT command in my .mailrc file to instruct the
   >mail reader to use more to read anything over 45 lines long.  When
   >mail invokes more, I would like it to call more with the -c option.
   >Can anyone tell me how to do this?

   In your .login or some other file that has your account wide env varibles,
   e.g. .cshrc or .profile, put the following:

	   For sh or ksh:

		   set pager="/usr/ucb/more -c";export pager
This should be

	PAGER="/usr/ucb/more -c"; export PAGER

	   For csh:

		   setenv PAGER "/usr/ucb/more -c"

And there is actually an easier way to do this.  more examines the
MORE environment variable for options to use.  So you should instead
use in sh/ksh/bash:

	MORE=-c; export MORE

in csh/tcsh:

	setenv MORE -c

This has the added benifit of working with *every* invocation of more,
not only those that go through PAGER.

Philip Guenther
--
guenther@stolaf.edu (Philip Guenther)       | The ACC might agree with me,
Student Sys Prog, Academic Computing Center | but with that bunch, (and me)
St Olaf College, Northfield, MN 55057-1001  | you never know... :-) :-| :-(
"Life makes sense?  LIFE MAKES SENSE!!?  Where do people get these ideas?"-me
Technical Details
Message-ID: <GUENTHER.92Nov2093623@amcl5.stolaf.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!decwrl!spool.mu.edu!umn.edu!noc.msc.net!news.stolaf.edu!guenther
References: <1992Oct26.180957.7162@ariel.ec.usf.edu> <1culd3INNci@darkstar.UCSC.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!decwrl!spool.mu.edu!umn.edu!noc.msc.net!news.stolaf.edu!guenther
From: guenther@stolaf.edu (Philip A Guenther)
Newsgroups: comp.mail.misc
Subject: Re: .mailrc question
Message-ID: <GUENTHER.92Nov2093623@amcl5.stolaf.edu>
Date: 2 Nov 92 17:36:23 GMT
Article-I.D.: amcl5.GUENTHER.92Nov2093623
References: <1992Oct26.180957.7162@ariel.ec.usf.edu>
 <1culd3INNci@darkstar.UCSC.EDU>
Sender: news@news.stolaf.edu
Distribution: usa
Organization: Academic Computing Center, St. Olaf College
Lines: 40
In-Reply-To: aryeh@cash.ucsc.edu's message of 31 Oct 92 19:05:07 GMT