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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ucbvax!CCS1.BBN.COM!RMCEWEN
  2. From: RMCEWEN@CCS1.BBN.COM (Regis McEwen)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: TT_AccPorNam field remains null on a SHOW USERS o
  5. Message-ID: <01GTBXRE6WEO002FVU@ccs1.bbn.com>
  6. Date: 10 Jan 93 02:37:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 46
  11.  
  12. In article <930104133534.21c002ab@LUDWIG.CTD.ORNL.GOV>,LPZ@LUDWIG.CTD.ORNL.GOV, (Lawrence MacIntyre - 615.576.0824) writes:
  13.  
  14. [...]
  15.  
  16. > This is all very nice, but the point is, if I have an xterm, and I have it set
  17. > to a different size than 24x80, I don't want you changing it to 24x80 just
  18. > because you never used an xterminal or a workstation and don't understand what
  19. >set term/inquire does.  I would want to shoot you as well, after about the 23rd
  20. > time.  You can detect the xterminal unless it is used to set host or telnet to
  21. > you, so the short answer is DON'T put Set Term/Inquire in the system login.
  22.  
  23.     I agree with what you are saying and I would like to offer some
  24.     thoughts to an alternative invocation of SET TERMINAL/INQUIRE.
  25.  
  26.     Here are some interesting tidbits that may be useful at some sites:
  27.  
  28.     If you are ONLY interested in keeping the same dimensions of your
  29.     screen AND you wish to execute a SET TERMINAL/INQUIRE, you can:
  30.  
  31.         $ set terminal/inquire -
  32.             /page='f$getdvi("sys$command","tt_page") -
  33.             /width='f$getdvi("sys$command","devbufsiz")
  34.  
  35.     This will preserve the length and width of the screen, xterminal or
  36.     workstation and can be used in conjuction with whatever other checks
  37.     you wish to make, such as executing it only if the SYS$COMMAND is
  38.     indeed a terminal and/or any other conditions.  [The /WIDTH qualifier
  39.     is best only used with SET TERMINAL/INQUIRE if the width you wish to
  40.     preserve is not 80, because it clears the screen].
  41.  
  42.     When part of the system-wide SYLOGIN procedure, stringent test should
  43.     be made *first* before it is executed in order for it to not undo any
  44.     of the characteristics set that may be desirable. This is especially
  45.     true for a KNOWN terminal, which in most (all?) cases the command
  46.     probably should NOT be automatically executed upon LOGIN, if at all.
  47.  
  48.     I would also recommend that the qualifier /WIDTH in the case of a
  49.     system-wide SYLOGIN NOT be used because it causes the terminal screen
  50.     to be cleared.  Important messages, like, "why wasn't I able to LOGIN?"
  51.     might be missed if that "terminal" that that LOGIN session was invoked
  52.     in, disappeared, for whatever reason.
  53.  
  54.  
  55.                             -Regis
  56.  
  57.  
  58.