Termcap question

Vos G P gpvos at cs.vu.nl
Fri Mar 2 22:19:53 AEST 1990


gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
>I hope \200 will serve your terminal's needs, because you cannot embed
>a constant \000 in termcap strings; they're handled by programs as C
I was afraid of this, but it's not a very important terminal function anyway
for which i need it. Still, it seems a limitation to me.

>I'm curious as to the kind of terminal you have that requires a 0 byte
>for some non-padding function.  I've never encountered this myself..
Ah, it's my home computer, an Acorn Electron - i use it sometimes with a modem
to connect to the university, and just for fun i'm trying to write a termcap
entry for it.
It's VDU functions are driven by ASCII codes 1..31, and the parameters for some
of them may become zero or above 127; e.g. the sequence <17> <0> (decimal)
means "foreground colour 0", or black, and <17> <135> means "white background".
I needed this for the reverse video function, or "standout mode" (so).
--
------------------------------------------------------------------------------
Gerben Vos				 |  Aconet: {BBCBBS,BIGBEN}!Gerben Vos
					 |  UUCP:   gpvos at cs.vu.nl
These are not opinions; these are facts	 |	    mcsun!botter!gpvos



More information about the Comp.unix.questions mailing list