less-381-1: doesn't use terminfo?

Martin Dorey mdorey@bluearc.com
Tue Aug 23 07:38:00 GMT 2005


Is it deliberate and desirable to have less(1) not be terminfo-aware?
Splitting the terminal capability database into several files certainly
makes it easy to install the entry for a new terminal type.

Background:

I've been porting a terminal emulator
(http://www.jessies.org/~enh/software/terminator/) to Cygwin.  It has
its own terminfo entry which it installs.  After doing this, less(1)
still produces the dreaded:

WARNING: terminal is not fully functional

I think I've tracked this down to less.exe not being linked to the
terminfo-aware ncurses library:

$ cygcheck /usr/bin/less.exe
C:/cygwin/bin/less.exe
  C:\WINNT\system32\KERNEL32.dll
    C:\WINNT\system32\NTDLL.DLL
  C:/cygwin/bin\cygwin1.dll
    C:\WINNT\system32\ADVAPI32.DLL
      C:\WINNT\system32\RPCRT4.DLL
  C:/cygwin/bin\cygpcre-0.dll
$

If I build with libncurses-devel installed, less's configure script
notices, I get a dependency on C:\cygwin\bin\cygncurses-8.dll and the
resulting less.exe works fine with "terminator".
-------------------------------------
Martin's Outlook, BlueArc Engineering

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 15757 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050823/f8dc04a7/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list