Path: utzoo!attcan!uunet!mcsun!hp4nl!star.cs.vu.nl!gpvos From: gpvos@cs.vu.nl (Vos G P) Newsgroups: comp.unix.questions Subject: Re: Termcap question Keywords: termcap Message-ID: <5726@star.cs.vu.nl> Date: 2 Mar 90 11:19:53 GMT References: <5658@star.cs.vu.nl> <671@mwtech.UUCP> <5708@star.cs.vu.nl> <12264@smoke.BRL.MIL> Sender: news@cs.vu.nl Lines: 20 gwyn@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@cs.vu.nl These are not opinions; these are facts | mcsun!botter!gpvos