delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/11/00:06:30

Xref: news-dnh.mv.net comp.os.msdos.djgpp:4234
Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!news.fibr.net!news1.crl.com!nntp.crl.com!usenet
From: weiqigao AT crl DOT com (Weiqi Gao)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp version of GNU less
Date: Wed, 10 Jan 1996 08:03:55 GMT
Organization: Spectrum Healthcare Services
Lines: 33
Message-ID: <4cvrj9$dbq@nntp.crl.com>
References: <DKwH2M DOT ICs AT jade DOT mv DOT net>
Reply-To: weiqigao AT crl DOT com
NNTP-Posting-Host: crl6.crl.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

>On 8 Jan 1996, Mark Lewis wrote:

>> I know such a thing exists cecause I've got it, but can someone point me to
>> the source-code for it so I can recompile it with djgpp v2?  Thanks.

>The original source is available from the GNU ftp site
>(ftp.gnu.ai.mit.edu) and its mirrors.  It doesn't include DJGPP-specific 
>patches, and so won't compile under DJGPP.  I've ported it to DJGPP v1.x, 
>but didn't have time yet to do it for v2.0.  (Some changes might be 
>necessary, because v2.0 supports many things v1.x didn't.)

I've ported it to DJGPP 1.x too (a long time ago.)  Today, I sat down
and tried to compile the GNU less 2.9.0 (290) with DJGPP v2 beta3.
After the usual manual configure (copy makefile.in to makefile and
edit out all the @strings@, copy defines.h.in to defines.h and flipped
all the flags), less compiled in v2beta3.

But the linker is complaining about missing the following functions:
  tcgetattr(), tcsetattr(), tgetent(), tgetflag(), tgetnum(), 
  tgetstr(), tgoto(), tputs().
All in the screen.c module.  These terminal functions doesn't seem to
exists anywhere.  (I choose to use <termios.h> because it's the
closest thing I have.)

It doesn't seem to use curses or terminfo. (Although I don't have them
with v2b3 either.)  Any pointers?

--
Weiqi Gao
weiqigao AT crl DOT com

- Raw text -


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