home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: SET TERM/INQ (Was Re: TT_AccPorNam field remains null)
- Date: 9 Jan 1993 13:16:05 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 32
- Distribution: world
- Message-ID: <1imj6lINNg7a@gap.caltech.edu>
- References: <930104133534.21c002ab@LUDWIG.CTD.ORNL.GOV>,<29834@ursa.bear.com>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <29834@ursa.bear.com>, RABINOWITZ@VAX5.BEAR.COM (Ari) writes:
- =My current attempt at avoiding the problem of SET TERM/INQ shrinking
- =DECterms is to not do a SET TERM/INQ at all. In our shop we don't have
- =any VT52's so a VT100 is the lowest common denominator of terminal type
- =that we use (even xterm on a Un*x workstation and most PC terminal
- =emulators do VT100 reasonably well).
- =
- =What I do is to set the terminal to VT100 if we don't already know what
- =type of terminal it is. DEC recommended in the release notes for
- =DECWindows (in VMS 5.2, VMS 5.3, and VMS 5.4 release notes) that SET
- =TERM/INQUIRE not be executed for WT, TW, FT and RT type devices. I have
- =extended that to set the terminal type to VT100 if the terminal type is
- =unknown. I use the following code in LOGIN.COM for my users who need
- =it:
- =
- =$ If F$Getdvi("TT:","DEVTYPE") .Eq. 0 Then $Set Term TT/Device=VT100
- =
- =I'm sure someone will come up with a case where this may cause problems,
- =but I haven't seen it yet.
-
- For the Heath/Zenith H19 terminal, in VT52 mode, the "set baud rate" escape
- sequence is the same as the VT100 "set scrolling region" sequence. Tell the
- VAX you've got a VT100 when you've really got an H19, and you'll soon find
- yourself trying to talk at the wrong baud rate.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-