Alternate character modes on magic_cookie_glitch terminals (long)

Brandon S. Allbery KB8JRR allbery at NCoast.ORG
Fri Mar 15 14:46:13 AEST 1991


As quoted from <9103100200.aa15841 at xenitec.on.ca> by theo at rascal:
+---------------
| Again, thanks very much for the advice, I have removed the xmc entry from
| my terminfo source and all works great, except and wait for it, every time
| I emit wattroff I get a '%' on the screen! Yes it does appear that the double
| percentage in the rmacs and sgr0 sequences are _not_ required!
+---------------

Correct.  You need only use a double % when the sequence is parameterized; see
the terminfo man page.  In particular, "sgr" is parameterized but "rmacs" and
"sgr0" are not.

++Brandon
-- 
Me: Brandon S. Allbery			    Ham: KB8JRR on 40m, 10m when time
Internet: allbery at NCoast.ORG		      permits; also 2m, 220, 440, 1200
America OnLine: KB8JRR // Delphi: ALLBERY   AMPR: kb8jrr.AmPR.ORG [44.70.4.88]
uunet!usenet.ins.cwru.edu!ncoast!allbery          KB8JRR @ WA8BXN.OH



More information about the Comp.unix.programmer mailing list