Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!hsdndev!husc6!genrad!genrad.com!jpn From: jpn@genrad.com (John P. Nelson) Newsgroups: comp.unix.ultrix Subject: Re: Problem defining vt300 on a Sun4 Message-ID: <40491@genrad.UUCP> Date: 25 Jan 91 20:56:24 GMT References: <90114@lll-winken.LLNL.GOV> Sender: news@genrad.UUCP Reply-To: jpn@maxwell.genrad.COM (John P. Nelson) Distribution: usa Organization: GenRad, Inc., Concord, Mass. Lines: 27 > On a Sun 3/Unix 4.2 and a BSD 4.3 machine I set my >TERMCAP environment variable to /home1/mking/mytermcap which contains >the termcap entry for a vt300 terminal and vi works properly. >However, on a Sun 4 release 4.1 I get the following message when I >run vi: > >vt300: Unknown terminal type Right. The SunOS 4.1 "vi" is the system V "vi": It uses the "terminfo" database, not termcap. I found this to be incredibly annoying also, the first time I discovered it. >At this point vi is basically useless. I can define the terminal as >a vt200 or vt100 to get "vi" to work. However, I would like to find a >better solution. Apparently, you can set the environment variable TERMINFO to point to a directory containing compiler terminfo database files, similarly to the way the TERMCAP environment variable works. You can't put the entire TERMINFO entry into an environment variable like TERMCAP. I hope this helps... john nelson uucp: {decvax,mit-eddie}!genrad!jpn domain: jpn@genrad.com