From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7cd1,a6024d16d8bd58bf X-Google-Attributes: gidf7cd1,public X-Google-Thread: 10aaed,a6024d16d8bd58bf X-Google-Attributes: gid10aaed,public X-Google-Thread: 1164f8,a6024d16d8bd58bf X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-11-05 00:09:27 PST Xref: gmd.de comp.sys.dec:11575 vmsnet.misc:1698 comp.sys.att:3341 Newsgroups: comp.sys.dec,vmsnet.misc,comp.sys.att Path: gmd.de!xlink.net!howland.reston.ans.net!agate!headwall.Stanford.EDU!unixhub!slacvx.slac.stanford.edu!fairfield From: fairfield@slacvx.slac.stanford.edu Subject: Re: How to add a terminal type to VMS? Message-ID: <1993Nov4.234039.1@slacvx.slac.stanford.edu> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <1993Nov4.190159.3228@vmsmail.gov.bc.ca> Date: Fri, 5 Nov 1993 07:40:39 GMT In article <1993Nov4.190159.3228@vmsmail.gov.bc.ca>, ewilts@vmsmail.gov.bc.ca (Ed Wilts) writes: > In article , > twilley@dewey.nl.nuwc.navy.mil (Jack Twilley) writes: >> I want to add a new terminal type to VMS -- how do I do this? >> >> The terminal type is for the AT&T Teletype 5620 DMD. :-) > > The procedures to do this are documented in the great white wall. What I > don't think the wall tells you is that many, many utilities assume that > you're on a VT100 and won't work properly and any terminal you define. > SMG-based applications will work, but not many utilities use SMG. EDT, and > I believe TPU, will both fail to work properly on a non-VTxxx terminal. Two points: 1) You'll want to look in the _Run Time Library - Screen Management (SMG$) Manual_ for information on adding "foreign" terminals (as Ed noted). In the VMS V5.x docs, its _Programming Volume 5C_ in the Grey Wall (I don't have the White Wall yet :-) or, in Bookreader, select "VMS Operating System" -> "OpenVMS Programming Reference and Utility Documents" -> "RTL Screen Management (SMG$)". Look at Chapter 5 of either source. 2) While it is true that neither EDT nor TPU use the SMG interface (much to the distress of many of us), TPU requires _only_ that the terminal support ANSI sequences. Set "ansi_crt = 1" in your termtable entry for the 5620 and TPU (and EDT) will allow you to edit. If the 5620 supports more VT characteristics, then specify them and they'll be used. Getting a reasonable key board mapping for the editor is another matter and depends on what escape sequences the various keys (I'm thinking function keys and/or numeric keypad keys, etc.) send to the host. Send me mail if you need more details. -Ken -- Dr. Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu SLAC, P.O.Box 4349, MS 98 | DECnet: 45537::FAIRFIELD (45537=SLACVX) Stanford, CA 94309 | Voice: (415) 926-2924 FAX: (415) 926-4335 ---------------------------------------------------------------------------- These opinions are mine, not SLAC's, Stanford's, nor the DOE's...