delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/06/22:14:16

From: cgf AT bbc DOT com (Chris Faylor)
Subject: Re: termcap issues...
6 Aug 1997 22:14:16 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <EEIHzL.6op.cygnus.gnu-win32@bbc.com>
References: <9708061342 DOT AA38522 AT hagar DOT aspentec DOT com>
Reply-To: cgf AT bbc DOT com
X-Newsreader: trn 4.0-test57 (27 Apr 97)
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: Perl5 Mail::Internet v1.28
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In article <9708061342 DOT AA38522 AT hagar DOT aspentec DOT com>,
Jerome Gay <gay AT aspentec DOT com> wrote:
>I'm using b18 with latest coolview (01-Aug) under NT4SP3...
>I got some strange problems with termcap...
>I've exported TERM=linux
>If  I export also TERMCAP=/etc/termcap (containing the linux entry), less
>(3.32) behave strangely, it starts paging from the top of the sreen,
>overwriting previous information...
>Maybe that's because I use bash inside an NT Command Prompt with scroll-bar
>(I set a buffer size of 1000 lines in the shortcut properties).

I notice the same thing.  Actually, I think it is a bug in less's handling
of scrolling regions.  It is definitely triggered by the scrollbar.

>BUT, if I set TERMCAP=/etc/termcap/linux, less behaves _normally_, but with
>a 'Warning: terminal not fully functional'

You're pointing the TERMCAP environment variable to a non-existent file.
That probably forces less to redraw the screen rather than attempt to scroll.
That will work but it will be slow.
-- 
http://www.bbc.com/	cgf AT bbc DOT com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019