Mail Archives: djgpp/1999/09/20/07:26:07
T.E.Dickey (dickey AT shell DOT clark DOT net) wrote:
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> > Why not? AFAIK, the DJGPP port of Termcap doesn't use ANSI escape
> > sequences either.
> I haven't come across an official DJGPP port - but recall some time ago
> a termcap port that used ANSI.SYS (perhaps that's been improved).
That might have been the one I originally made, back in the time of
DJGPP 1.09 or so, for the very first port of texinfo's "info.exe" to
DJGPP. I did it the 'quick-and-dirty' way, just making termcap run on
top of ANSI.SYS (or better NNANSI.{COM|SYS}, a formidable replacement
for MS's implementation...).
In the longer run, I doubt termcap (or terminfo, for essentially the
same reason) can be implemented to use direct video memory writes and
stuff, instead of an ANSI.SYS implementation. The main problem with
that would be that application do have the choice to query termcap
strings and print them on their own, without going through termcap at
all. That means we'ld need an ANSI.SYS implementation inside the libc,
checking and filtering all output to the console for those
<ESC>-sequences, or require an external ANSI.SYS being preloaded for
programs that use termcap.
I don't remember having seen any such port of termcap, since then.
Anyone else has? Please tell.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -