[comp.terminals] Terminfo sucks!! Any programs to translate 'cap into 'info?

unhd (Roger Gonzalez ) (06/27/90)

I have been unable to translate my termcap entry for my new tvi965
into terminfo format.  I need to do this because the version of vi
that we run uses curses with terminfo.  I use Emacs, but everybody
else uses vi.  Is there an automated way to accomplish what I want?
Tic whines incessantly about my entry.  I really want the other
users to stop using the tvi950 entry 'cause it leaves ugly magic
cookies. 

Thanks,
Roger




-- 
UUCP:   ..!uunet!unhd!rg      | USPS: Marine Systems Engineering Laboratory
BITNET: r_gonzalez at unhh    |       University of New Hampshire
PHONE:  (603) 862-4600        |       Marine Programs Building
FAX:    (603) 862-4399        |       Durham, NH  03824-3525

felps@convex.com (Robert Felps) (06/27/90)

rg@uunet!unhd (Roger Gonzalez ) writes:

>I have been unable to translate my termcap entry for my new tvi965
>into terminfo format.  I need to do this because the version of vi
>that we run uses curses with terminfo.  I use Emacs, but everybody
>else uses vi.  Is there an automated way to accomplish what I want?
>Tic whines incessantly about my entry.  I really want the other
>users to stop using the tvi950 entry 'cause it leaves ugly magic
>cookies. 

Try 'man -k terminfo' on a SV system.
HP-UX has a command captoinfo(1M/8).
AT&T 3.2 has infocmp(1?) and maybe some other captoinfo type commands if
I remember correctly.

Robert Felps
System Specialist
Convex TAC x4805
felps@convex.com
1-800-952-0379 

kendy@ism780c.isc.com (Ken Dye) (06/28/90)

In article <1990Jun26.211031.6308@uunet!unhd> rg@unhd.UUCP (Roger Gonzalez ) writes:
>I have been unable to translate my termcap entry for my new tvi965
>into terminfo format.  I need to do this because the version of vi
>that we run uses curses with terminfo.  I use Emacs, but everybody
>else uses vi.  Is there an automated way to accomplish what I want?

	believe it or don't "captoinfo" is the program you want.
Most sysV systems I've seen come with it, perhaps in /usr/lib or
/etc, /lbin /urs/lbin or /usr/local, look around.  I have no idea
where to get sources (or even if they are available).

--Ken
-- 
kendy@ism.isc.com  (213)453-8649 x3153		"I'm Chloe.  Let's wrassle!"