home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20043 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  2.0 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ucbvax!NSCVAX.PRINCETON.EDU!dragon
  2. From: dragon@NSCVAX.PRINCETON.EDU (Mighty Firebreather)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: TT_AccPorNam field remains null on a SHOW USERS output ?
  5. Message-ID: <00965CE9.1CCC8820.31019@nscvax.princeton.edu>
  6. Date: 29 Dec 92 15:04:38 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 43
  11.  
  12.  
  13.     Ehud Gavron <gavron@vesta.sunquest.com> writes:
  14. >
  15. >In article <1992Dec27.233720.1@woods.ulowell.edu>, sabotkap@woods.ulowell.edu writes...
  16.  
  17.     <much stuff omitted>
  18.  
  19. >  SET TERM/INQ
  20. >in SYLOGIN is a reason for you to be shot, by the way...
  21. >
  22.  
  23.     Ehud,
  24.  
  25.     I know that SET TERM /INQ can cause problems in some circumstances,
  26. most notably under DECWindows but this reaction seems a little extreme.
  27.  
  28.     I have the following in my SYS$SYLOGIN:
  29.  
  30. $    IF F$MODE() .NES. "INTERACTIVE" THEN GOTO DEFINE
  31. $! We know what's connected to the TX ports.  If terminal is not on one of 
  32. $! the multiplexers, find out what it is.
  33. $!
  34. $    IF F$EXTRACT(1, 2, F$GETDVI("TT", "DEVNAM")) .EQS. "TX" THEN GOTO 10$
  35. $    SET TERMINAL /INQUIRE
  36. $10$:
  37. $! If the login is via a modem, we need to ask what it is anyway.
  38. $!
  39. $    IF F$GETDVI("TT", "TT_MODEM") THEN $ SET TERMINAL /INQUIRE
  40.  
  41.     Given that a number of important utilities like to know what sort 
  42. of terminal they are talking to and that, in many cases; e.g. terminal 
  43. servers, you don't know unless you ask, why should one not use SET 
  44. TERMINAL /INQUIRE?
  45.  
  46.  
  47. *************************************************************************
  48. *                                                                       *
  49. *                        Here, there be dragons!                        *
  50. *                      dragon@nscvax.princeton.edu                      *
  51. *                                                                       *
  52. *                                                Richard B. Gilbert     *
  53. *************************************************************************
  54.  
  55.