[comp.sys.sun] TERMCAP in 4.1

ehrlich@psuvax1.cs.psu.edu (Daniel Ehrlich) (05/01/90)

In article <7166@brazos.Rice.edu> auspex!guy@uunet.uu.net (Guy Harris) writes:

> X-Sun-Spots-Digest: Volume 9, Issue 134, message 17

|Has anybody used non-default TERMCAP files in 4.1 ?  I am running 4.1 on a
|SPARC and vi is ignoring my TERMCAP file and using /usr/share/lib/termcap.
|The same file works fine on 4.0.3.

> "vi", in 4.0.3, is based on the 4.3BSD one, and uses "termcap".

> "vi", in 4.1, is (unless they changed things after I left) based on the
> System V Release 3.1 one (it was, by far, the easiest way to make an 8-bit
> clean version that lets you use international character sets like ISO
> Latin #1), and uses "terminfo".

> Thus, it's ignoring not only your "termcap" file, but all "termcap" files,
> including the one in "/usr/share/lib".  To quote from CURSES(3V) in 4.0.3
> (probably unchanged for 4.1):

Gakkkkk!!  Does anyone know where one can find a TERMCAP -> TERMINFO
converter?  Does 4.1 include one?

Dan Ehrlich <ehrlich@cs.psu.edu>/Voice: +1 814 863 1142/FAX: +1 814 865 3176

marka@syd.dms.csiro.au (Mark Andrews) (05/02/90)

In article <7290@brazos.Rice.edu> ehrlich@psuvax1.cs.psu.edu (Daniel Ehrlich) writes:
|X-Sun-Spots-Digest: Volume 9, Issue 147, message 6
|
|In article <7166@brazos.Rice.edu> auspex!guy@uunet.uu.net (Guy Harris) writes:
|
|> X-Sun-Spots-Digest: Volume 9, Issue 134, message 17
|
||Has anybody used non-default TERMCAP files in 4.1 ?  I am running 4.1 on a
||SPARC and vi is ignoring my TERMCAP file and using /usr/share/lib/termcap.
||The same file works fine on 4.0.3.
|
|> "vi", in 4.0.3, is based on the 4.3BSD one, and uses "termcap".
|
|> "vi", in 4.1, is (unless they changed things after I left) based on the
|> System V Release 3.1 one (it was, by far, the easiest way to make an 8-bit
|> clean version that lets you use international character sets like ISO
|> Latin #1), and uses "terminfo".
|
|> Thus, it's ignoring not only your "termcap" file, but all "termcap" files,
|> including the one in "/usr/share/lib".  To quote from CURSES(3V) in 4.0.3
|> (probably unchanged for 4.1):
|
|Gakkkkk!!  Does anyone know where one can find a TERMCAP -> TERMINFO
|converter?  Does 4.1 include one?
|
|Dan Ehrlich <ehrlich@cs.psu.edu>/Voice: +1 814 863 1142/FAX: +1 814 865 3176

This one should really be answered by RTFM. 4.0.X has captoinfo(8V). This
is just about standard on any terminfo based machine. I would expect it to
be there for 4.1 (I'm at home now and the 4.1 manuals are on the desk at
work).

guy@uunet.uu.net (Guy Harris) (05/03/90)

>Gakkkkk!!  Does anyone know where one can find a TERMCAP -> TERMINFO
>converter?

System V Release 3.x, and any system - such as SunOS 4.x - whose
"curses"/"terminfo" is based on an S5R3.x version.  It's a subfunction of
"infocmp"....