delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/27/12:03:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <392FF1BE.65E8BA06@dothill.com>
Date: Sat, 27 May 2000 12:03:10 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
Organization: Dot Hill Systems Corporation
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Shiv Kumar <vihs AT rocketmail DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: less problem
References: <392FD5F2 DOT 33908B37 AT rocketmail DOT com>

Shiv,

Shiv Kumar wrote:
> Whenever I use less it complains that the terminal is not fully functional.
> 
>      [/home:$] set | less
>      WARNING: terminal is not fully functional
>      -  (press RETURN)
>      [/home:$] echo $TERM
>      win32
>      [/home:$]
> 
> Any clues why?

The less that is included in Cygwin only supports termcap and does
not support terminfo.  Hence, your TERM must be set to only one of 
entries in /etc/termcap.  If you are using cmd or bash, then just set
your TERM variable to cygwin or linux.  This will solve the above
problem.

If you are (or want) to use rxvt, then download less from

    ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Hirmke_Michael/B20/less-332-cygwin-b20-bin.tar.gz

which supports terminfo.  You will also have to download ncurses from

    http://cygutils.netpedia.net/V1.1/ncurses-5.0/ncurses-5.0-cygwin-pre21.tar.bz2

Note that the Cygwin texinfo also only supports termcap, you can get a
terminfo version from

    http://cygutils.netpedia.net/V1.1/texinfo-3.12/texinfo-3.12-cygwin1.1.tar.bz2

<Whine>
I really wished that Cygwin already included terminfo versions of less,
texinfo, etc., and ncurses (ie, terminfo) too.
</Whine>

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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