Mail Archives: djgpp/1996/01/11/11:34:20
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.
- Raw text -