Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 1996 13:38:33 -0400 (EDT)
From:      hoek@freenet.hamilton.on.ca
To:        dawes@rf900.physics.usyd.edu.au
Cc:        current@freebsd.org, dmaddox@scsn.net
Subject:   Re: Xterm wierdness after 'make world'...
Message-ID:  <199610201738.NAA23569@james.freenet.hamilton.on.ca>

next in thread | raw e-mail | index | archive | help
In Email, David Dawes <dawes@rf900.physics.usyd.edu.au> wrote:
> 
> The second problem is related to the ti and te termcap entries.
> These are switching to an alternate screen buffer while 'more' is
> running, then switching back afterwards.  I've been setting my
> PAGER to 'more -e' which is OK for the last page of longer files, but
> still doesn't fix things for short files.  The X Consortium's standard
> R6 termcap entry for xterm also does this.

Try using something along the lines of

 alias mo="echo 'reset; clear; more \$@; read -p '\''<<<Press ENTER>>>'\''
 nl < /dev/tty' | sh -s"

NOTE, of course, that there's no \n break in the above...


-- 
--
tIM...HOEk
The opinions expressed above are mine,
and if my employer shares them, 
that's his hard luck.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610201738.NAA23569>