Thread View: net.notes
1 messages
1 total messages
Started by tower
Thu, 07 Feb 1985 06:23
Re: Re: PAGER variable problem
Author: tower
Date: Thu, 07 Feb 1985 06:23
Date: Thu, 07 Feb 1985 06:23
32 lines
1785 bytes
1785 bytes
> ***** inmet:net.notes / lsuc!dave / 9:39 pm Feb 4, 1985
> In article <26000001@smu.UUCP> joe@smu.UUCP writes:
> ||Notes looks at the environment variable PAGER to determine
> ||if you want to use a different program than /usr/ucb/more to look at
> ||the help page. The problem is there is no way to pass parameters to
> ||the program. (e.g., I would like to run my own pager program, say
> ||page, invoking it as page -s). Has anyone fixed this?
>
> Well, it's a kludge, but you can create your own shell file which
> simply calls page -s, and make the shell file your $PAGER.
> Dave Sherman
> {utzoo pesnta nrcaero utcs}!lsuc!dave
> {allegra decvax ihnp4 linus}!utcsrgv!lsuc!dave
>
Non-kludge:
more on 4.1BSD looks at the environment variable MORE to decide
what parameters to invoke itself with. See the man page.
e.g. (from my .login for my login c-shell)
setenv MORE -sl
setenv PAGER '/usr/ucb/more'
I suspect this is true on 4.2BSD and 2.9BSD systems as well.
"Oh, the nested webs we weave..."
-len tower UUCP: {ihnp4,harpo}!inmet!tower
Intermetrics, Inc. INTERNET: ima!inmet!tower@CCA-UNIX.ARPA
USPS: 733 Concord Ave., Cambridge, MA 02138, USA
PHONE: (617) 661-1840
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