Thread View: comp.mail.misc
3 messages
3 total messages
Started by drc David Cabana
Mon, 26 Oct 1992 18:09
.mailrc question
Author: drc David Cabana
Date: Mon, 26 Oct 1992 18:09
Date: Mon, 26 Oct 1992 18:09
6 lines
660 bytes
660 bytes
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? Thanks, drc
Re: .mailrc question
Author: Aryeh Friedman
Date: Sat, 31 Oct 1992 19:05
Date: Sat, 31 Oct 1992 19:05
22 lines
1311 bytes
1311 bytes
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 For csh: setenv PAGER "/usr/ucb/more -c" -- Aryeh M. Friedman, President, WorldNet Communications (aka bum from netland) 1720 E. Monte Vista, Phoenix, AZ, 85006, USA "I need the numbers now!!!!"-anon (602) 258-5781 Disclaimer: I don't usually speak for my company. E-mail: aryeh@cash.ucsc.edu, aryeh@wnc.com and flames to liar@bush.whouse.gov
Re: .mailrc question
Author: Philip A Guenther
Date: Mon, 02 Nov 1992 17:36
Date: Mon, 02 Nov 1992 17:36
40 lines
2033 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads