stoner@qumix.UUCP (David Stone) (04/11/85)
Help! I can't seem to find the information I need to use my own termcap file instead of the default one in /etc/termcap.What I want to do is use a modified file in my home directory for a Televideo 950 but can't seem to get the info I need to do this. ANY info would help. thanx stoner@qumix David A. Stone Qume Corp. San Jose,Calif.
gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (04/22/85)
> Help! I can't seem to find the information I need to use my own termcap file > instead of the default one in /etc/termcap.What I want to do is use a modified > file in my home directory for a Televideo 950 but can't seem to get the info > I need to do this. ANY info would help. Set and export an environment variable TERMCAP set to the FULL PATHNAME of your replacement for /etc/termcap. An alternative is to set the actual terminal description entry into TERMCAP.
tweten@AMES-NAS.ARPA (Dave Tweten) (04/22/85)
The following entry is taken from my csh .login file under 4.2bsd: setenv TERMCAP ~/termcap Its effect is to redirect /etc/termcap inquiries to a file named "termcap" in my home directory. That file contains all the (perhaps modified) termcap entries I use. Be aware that this technique requires that ALL entries you intend to use be in the file in your account.
rkl@ahuta.UUCP (k.laux) (04/22/85)
REFERENCES: <521@qumix.UUCP> Set your environment variable TERMCAP to the pathname to the file in your directory, ie. TERMCAP=/usr/.../tv910. Then you must export it, ie. export TERMCAP. You didn't specify which version of UNIX you are using. Newer versions may use TERMINFO (ala SVR2), so beware. R. Kevin Laux Software Vendor Tech Support ATTIS Lincroft ahuta!rkl (mtuxo!rkl after May 1st) 201-576-3610
huisjes@ark.UUCP (Michiel Huisjes) (04/23/85)
In article <521@qumix.UUCP> stoner@qumix.UUCP (David Stone) writes: > >Help! I can't seem to find the information I need to use my own termcap file >instead of the default one in /etc/termcap.What I want to do is use a modified >file in my home directory for a Televideo 950 but can't seem to get the info >I need to do this. ANY info would help. > > thanx > stoner@qumix > David A. Stone > Qume Corp. > San Jose,Calif. Try: $ TERMCAP=filename ; export TERMCAP or % setenv TERMCAP filename -- Michiel Huisjes. (huisjes@ark.UUCP) {seismo|decvax|philabs}!mcvax!vu44!ark!huisjes
ccrbillw@ucdavis.UUCP (Bill Wohler) (04/25/85)
> Help! I can't seem to find the information I need to use my own termcap file > instead of the default one in /etc/termcap.What I want to do is use a modified > file in my home directory for a Televideo 950 but can't seem to get the info > I need to do this. ANY info would help. > > thanx > stoner@qumix > David A. Stone > Qume Corp. > San Jose,Calif. R. Kevin Laux from ATTIS Lincroft replies: (for the Bourne shell world) > Set your environment variable TERMCAP to the pathname to the > file in your directory, ie. TERMCAP=/usr/.../tv950. Then you must > export it, ie. export TERMCAP. > You didn't specify which version of UNIX you are using. Newer > versions may use TERMINFO (ala SVR2), so beware. Dave Tweten from AMES-NAS replies: (for the rest of us) > setenv TERMCAP ~/termcap i use the file .termcap so i do not have to look at it at every `ls`. after setting the TERMCAP variable you can do this: tset -s -Q - -m ':?tv950' > /tmp/t$$; source /tmp/t$$; /bin/rm /tmp/t$$ this puts the actual termcap string for the televideo in the TERMCAP variable to make for faster vi startups. note: substitute the `source` with `/bin/csh -f` if you are not using csh. another note: a friend wrote another version of `printenv` (`set` for Bourne) that will prettyprint control characters. otherwise the TERMCAP entry may screw up your terminal every time you look at your environment variables. a word from the wise(r): i had my own termcap file for a while that was originally from /etc/termcap. some of the entries had massive bugs in them and i ran around with a defective termcap file long after the bugs were fixed in /etc/termcap. we have a couple of versions of the same terminal, one of them shows the effects of the bug, the other doesn't (which is the one i use and why i did not notice). ttfn ps. UC Davis has only recently got on the net. i believe this is UCD's first appearance. thus, i wish you all a warm hello. ...{ucbvax,dual}!ucdavis!vega!ccrbillw ucbvax!ucdavis!vega!ccrbillw@Berkele
ems1@houxn.UUCP (E.STRONG) (04/25/85)
I have just recently built and used a TERMCAP entry from my home directory. In my case I needed to use vi from my Kaypro 10 at home. Its very simple to do: just set your TERMCAP environment variable to your new termcap definition. If you are looking for information on how to formulate your termcap string, look in the Unix system 5 release 2 Programmer Reference Manual under TERMINFO(4). You may also want to check your local system man pages in case *your* system uses a different syntax.
guy@sdcc12.UUCP (Guy A. Lewis) (05/01/85)
To make the system use a private copy of the termcap file rather than /etc/termcap you need to set an enviornment variable as such: setenv TERMCAP ~/mytermcap And thats all there is to it. By the way this will work on 4.* BSD I've no ideas on how to do it for System *. Good luck, Guy -- ihnp4 \ akgva \ decva > sdcsvax!sdcc12!guy dcdwest / ucbvax / All good things must come to an en....