From: broeker AT acp3bf DOT knirsch DOT de (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp Subject: Re: tgetstr, tputs & other term functions Date: 20 Sep 1999 10:07:56 +0200 Organization: RWTH Aachen, III. physikalisches Institut B Message-ID: <7s4q0s$gdl@acp3bf.knirsch.de> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 937814879 6567 137.226.32.75 (20 Sep 1999 08:07:59 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 20 Sep 1999 08:07:59 GMT X-Newsreader: TIN [version 1.2 PL2] Lines: 30 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com T.E.Dickey (dickey AT shell DOT clark DOT net) wrote: > Eli Zaretskii 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 -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.