Date: Sat, 20 Apr 1996 18:30:56 -0600 From: wes@intele.net To: Steve Reid <steve@edmweb.com> Cc: questions@freebsd.org Subject: 'less' on remote machine in an xterm Message-ID: <199604210030.SAA01311@obie.softweyr.com> In-Reply-To: <105076985@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Reid writes:
> When I login to the machines that I admin (using ssh) and use less to
> view a file, it works fine in a text-mode screen. But, when I do this
> from an xterm, and try to scroll up in less, only the top line changes. I
> have to ctrl-L often to update the screen. Very annoying.
>
> Any fix for this little problem? Maybe an xterm switch? DISPLAY variable
> setting? Xterm patch?
Probably one of two things: your $TERM is set to something other than
"xterm", or the remote machine has an incorrect picture of your xterm
geometry. If the remote machine is running HP-UX, you must export the
variable LINES with the number of lines on your screen, the HP-UX
termcap doesn't grok tty geometry settings.
--
Wes Peters | Yes I am a pirate, two hundred years too late
Softweyr | The cannons don't thunder, there's nothing to plunder
Consulting | I'm an over forty victim of fate...
wes@intele.net | Jimmy Buffett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604210030.SAA01311>
