home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20660 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  2.3 KB

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