Date: Thu, 11 Jan 1996 18:19:49 +0200 (IST) From: Eli Zaretskii To: Weiqi Gao Cc: djgpp AT delorie DOT com Subject: Re: djgpp version of GNU less On Wed, 10 Jan 1996, Weiqi Gao wrote: > 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(). I didn't use termios at all in my port. I just wrote a new module djscreen.c which does all the screen-oriented operations with the conio functions. It's much faster (direct screen writes) and you get color support for free.