A-N-Onymouse@cup.portal.com (John - DeBert) (01/23/89)
I read somewhere that it was possible to set the TERM variable to point at a file containing terminal definitions in the user's directory. I am unable to find that passage now. I am trying to work out a usable terminal definition for my terminal before I install it in the termcap file. Does someone know how I can do this? Thanx in advance, A-N-Onymouse@cup.portal.com
edwin@ruuinf.UUCP (Edwin Kremer) (01/24/89)
In article <13863@cup.portal.com>, A-N-Onymouse@cup.portal.com (John - DeBert) writes: > I read somewhere that it was possible to set the TERM variable to > point at a file containing terminal definitions in the user's > directory. You're almost right, it's either the TERMCAP or TERMINFO environment variable you may set. > I am trying to work out a usable terminal definition for my terminal > before I install it in the termcap file. The first solutions is to do (asume you're using Bourne shell): TERMCAP=$HOME/etc/termcap ; export TERMCAP put your terminal definition over there, and edit, test etc. If you plan to use the terminfo capabilities, you can put the termcap definition anywhere you like. Next, set TERMINFO to a directory unequal to the default /usr/lib/terminfo: TERMINFO=$HOME/lib/terminfo ; export TERMINFO convert termcap in terminfo (cap2info or something like that) and install using tic. Your terminal defs will now end up in the directory set by TERMINFO, and your favourite editor will surely look it up there. I hope this will be of any help to you.... --[ Edwin ]-- -- Edwin Kremer, Department of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Phone: +31 - 30 - 534104 | UUCP : ...!hp4nl!ruuinf!edwin "I speak for myself ..." | INTERNET: edwin@cs.ruu.nl
meissner@tiktok.dg.com (Michael Meissner) (01/26/89)
In article <13863@cup.portal.com> A-N-Onymouse@cup.portal.com (John - DeBert) writes: | I read somewhere that it was possible to set the TERM variable to point | at a file containing terminal definitions in the user's directory. | | I am unable to find that passage now. | | I am trying to work out a usable terminal definition for my terminal | before I install it in the termcap file. On systems with terminfo (ie, System V) set your TERMINFO environment variable to the pathname of the directory to use for finding the terminal descriptions (normally this is /usr/lib/terminfo, or /usr/5lib/terminfo for Suns). Then run tic and it will build the necessary entries. On systems with termcap (ie, Berkeley) set your TERMCAP environment variable to the pathname of the termcap file you want to use (normally, this is /etc/termcap). The first character of TERMCAP must be a slash ('/') to indicate this is a filename rather than the complete termcap entry. Alternatively, you could set TERMCAP to be the enitre termcap entry. Michael Meissner, Data General. Uucp: ...!mcnc!rti!xyzzy!meissner Arpa: meissner@dg-rtp.DG.COM (or) meissner%dg-rtp.DG.COM@relay.cs.net
A-N-Onymouse@cup.portal.com (John - DeBert) (01/28/89)
I have had thirty-six responses by email and postings re my question. Thanx to all those who responded and apologies to all who had to decrypt my message. I should have realized that the system/version would be almost-all-important. :) I finally coaxed the system to accept >MY< termcap and terminfo stuff using your recommendations and am on the way to getting this terminal mess straightened out. A.N. Onymouse ("da only onymouse in da house") A-N-Onymouse@cup.portal.com CI$: 75530,347 GEnie: A.N.Onymouse Telex: 6502636614 Smail: Box 51754, Pacific Grove, CA 93950-6754 USA et cetera