From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 15-APR-1989 05:18 To: MRGATE::"ARISIA::EVERHART" Subj: Environment setup for VMS Curses. Received: by ge-rtp (5.57/ge-rtp.GE.COM/1.18) id AA20807; Sat, 15 Apr 89 05:10:13 EDT Received: from CRVAX.SRI.COM by mcnc.mcnc.org (5.59/MCNC/5-16-88) id AA19343; Sat, 15 Apr 89 04:41:55 EDT Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Fri, 14 APR 89 19:36:40 PDT Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Fri, 14 Apr 89 19:34:20 PDT Received: by ucbvax.Berkeley.EDU (5.61/1.36) id AA18743; Fri, 14 Apr 89 19:18:24 -0700 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 14 Apr 89 22:58:19 GMT From: mcnc!uunet.uu.net!tektronix!gvgpsa!gvgpvd!tony@crdgw1 (Tony Ivanov) Organization: Grass Valley Group, Inc., Grass Valley, CA Subject: Environment setup for VMS Curses. Message-Id: <1106@gvgpvd.GVG.TEK.COM> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com I have just spent a couple hours on the phone with a user trying to get VMS curses up and running. It seems there is some informa- tion necessary to run it that I have forgotten (and taken for granted). First, you must have a TERMCAP file. Next, you must either modify the termcap file or set up a logical name for your terminal type. Third, you must tell VMS curses where to look for the termcap file. The termcap file should be 'SYS$LIBRARY:TERMCAP.'. If you choose to not put it there, you need to set up a logical name (or symbol) that points to it. Logical names override symbols. As an example of setting up a non-standard termcap file, assume you wish to put it in SYS$USERS:[OURLIB.LIB]TERMCAP.VMS, you should then set up a logical name of: $ ASSIGN "/SYS$USERS/OURLIB/LIB/TERMCAP.VMS" TERMCAP Note, you *must* have a slash (/) at the beginning. Users can use their own copy of termcap by creating a process-wide logical or a symbol with above format. By default, the environment symbol TERM is assigned to your terminal type (as indicated by show term) followed by a dash followed by the page width. To override this and use a pre-defined TERM, set up a logical name that equivalences TERM with the proper terminal type. Be sure to enclose the equiv. name in quotes if lower case letters are in use. Example: $ ASSIGN "vt100" TERM To make things simple for naiive users, I have modified our termcap file to alias vt100-80 to vt100 and vt100-132 to vt100-w. IMPORTANT NOTE: a symbol definition for TERM will *NOT* work. -- Tony -- /* My opinions... * Tony Ivanov MS-4B * ...ucbvax! */ /* shared by my company?!... * Grass Valley Group, Inc. * tektronix! */ /* you've got to be kidding! * P.O. Box 1114 * gvgpsa! */ /* "tony@gvgpvd.GVG.TEK.COM" * Grass Valley, CA 95945 * gvgpvd!tony */