jimmy@denwa.uucp (Jim Gottlieb) (02/25/89)
I'm tackling two subjects with one article to save on headers :-) 1) In response to recent requests from newcomers for software, I thought I'd point out the "AT&T Computer Software Catalog -- Workstation Software". It lists several hundred software packages that run on the UNIX PC (plus several hundred more that do not). It is published by Prentice Hall. I have the Spring 1987 edition, and it is over 1000 pages. Cost was $22.95 at my local bookstore. 2) I run RM COBOL on here (3B1, 3.51a) in order to run an accounting package that requires it. COBOL wants to have its own termcap identifiers in the terminal descriptions (why I don't know. If it knows about termcap, why not just read what's there.). Specifically, I had to add :NM=\E[0m:NB=\E[0m\E[1m:NR=\E[0m\E[7m:NS=\E[0m\E[1m\E[7m:\ :AL=\E[0m\E[2m:AB=\E[0m\E[1m\E[2m:AR=\E[0m\E[2m\E[7m: :AS=\E[0m\E[1m\E[2m\E[7m:RS=\E[0m:OV=0:CF=\E[=1C:\ :CN=\E[=0C: (I know, some of the escape sequences are rather long, but I couldn't figure out from the window(7) man page how to do multiple attributes in one escape sequence.) Anyway... the problem is that when I have these entries installed, vi starts to screw up, and I can't figure out why. It shouldn't be looking at any entries with capital letters, so even if some conflicted with TAM codes, it still wouldn't matter, right? Any ideas are appreciated. Thanks... -- Jim Gottlieb E-Mail: <jimmy@denwa.uucp> or <jimmy@pic.ucla.edu> or <attmail!denwa!jimmy> V-Mail: (213) 551-7702 Fax: 478-3060 The-Real-Me: 824-5454
mvadh@cbnews.ATT.COM (andrew.d.hay) (02/27/89)
In article <274@denwa.uucp> jimmy@denwa.uucp (Jim Gottlieb) writes:
[]
" Specifically, I had to add
"
" :NM=\E[0m:NB=\E[0m\E[1m:NR=\E[0m\E[7m:NS=\E[0m\E[1m\E[7m:\
" :AL=\E[0m\E[2m:AB=\E[0m\E[1m\E[2m:AR=\E[0m\E[2m\E[7m:
" :AS=\E[0m\E[1m\E[2m\E[7m:RS=\E[0m:OV=0:CF=\E[=1C:\
" :CN=\E[=0C:
"
" (I know, some of the escape sequences are rather long, but I
" couldn't figure out from the window(7) man page how to do
" multiple attributes in one escape sequence.)
standard ansi x3.64 syntax is \E[{attrib}[,{attrib}][,{attrib}]{cmd}
it is surprising they neglected to mention it...
for example: \E[0;2;7m
so, your entries become --
:NM=\E[0m:NB=\E[0;1m:NR=\E[0;7m:NS=\E[0;1;7m:\
:AL=\E[0;2m:AB=\E[0;1;2m:AR=\E[0;2;7m:
:AS=\E[0;1;2;7m:RS=\E[0m:OV=0:CF=\E[=1C:\
:CN=\E[=0C:
1 is usually bold and 2 is usually dim.
using both bold and dim in one sequence is odd, to say the least --
one should cancel the other.
--
Andrew Hay +------------------------------------------------------+
Apprentice Polymath | Yes, the wages of sin ARE death, but after they take |
AT&T-BL Ward Hill MA | taxes out, it's kind of a tired feeling really |
mvuxq.att.com!adh +------------------------------------------------------+