after rolling up my sleeves and getting a termcap working (so it seems) i still can't figure the nuances between: smacs rmacs (terminfo) as ae (termcap) ^N ^O form 1 (older?) ^[(0 ^[(B form 2 (newer?)
on both mrxvt and xterm either form of this sequence puts the display into (out of) alternate character mode, but i've got a weird edge case that causes problems.... i think the cause of the problem is that (on both xterm and mrxvt) if i use one form to get into the alternate character set i have to use the same form to get out... i can't mix and match forms to enter (and exit) alternate character mode. i'm not sure if that's a bug or if it's that way for historical reasons, but in the particular case i've got it's rather annoying. in both xterm and mrxvt i can't find any documentation to support the 2nd form, except that a bunch of termcap/terminfo files use it and the inconvenient fact that it works. the first form seems to be well documented and it works just as well. if anyone can point me in the right direction about figuring that out....? then i've got to figure out why a linux box that i've got a shell on reports this as the setaf/AF string in 256 color mode (xterm-256color): ^[[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m wtf?!?!? it would seem like a typo in the termcap, except that setab/AB reports this: ^[[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m in both cases it looks like the correct string is at the end. -- ...atom ________________________ http://atom.smasher.org/ 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808 ------------------------------------------------- "The more laws, the less justice." -- Marcus Tullius Cicero De Officiis ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Materm-usage mailing list Materm-usage@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-usage Mrxvt home page: http://materm.sourceforge.net