[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Wed, 03 Mar 2004 12:02:54 +0000 
Subject:Re: Eliminating termcap (Was: Re: 15.53 - Windows Installer Available) 
From:Stephen Isard 
Volume-ID: 

A.Sloman@cs.bham.ac.uk wrote:

> > #_IF DEF NCR
> >       /*      Termcap not available -- see comment in "termcap.p"
> >       */
> > define vedtermcapscreen(_);
> > enddefine;
> > #_TERMIN_IF true
> > #_ENDIF
> > ------------
> 
> That's interesting. I think I should see if I can rebuild at least linux
> poplog so that it does not use termcap.
> 
> That's mainly a relic of days when there were lots of different VDUs
> with different characteristics I think, so it might as well be removed
> by default.
> 
> Instead we now almost always use ved in an Xterm window?

I sometimes use it in a linux console window, but that's provided for.

> I think the simplest thing would just be to find files in
> $usepop/pop/ved/src/* and $usepop/pop/src/* that reference termcap and
> if possible eliminate the references, then
....

It might work just to extend the IFDEF above to apply if either NCR or
some new
variable like DONT_WANT_TERMCAP is defined, and then define
DONT_WANT_TERMCAP in $usepop/pop/src/syscomp/sysdefs.p (which is a copy
of $usepop/pop/src/syscomp/sysdefs_linux_elf.p) and then go through the
recompilation/relinking drill.

Steve