home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12652 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!konopik.austin.ibm.com!konopik
  3. From: konopik@konopik.austin.ibm.com (Brad Konopik)
  4. Subject: Re: xterm and utmp
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <BzEtxD.23rp@austin.ibm.com>
  7. Date: Thu, 17 Dec 1992 15:34:25 GMT
  8. References: <mdm.724555881@argus.apple.com>
  9. Organization: IBM AIX Porting Center, Austin
  10. Lines: 35
  11.  
  12. In article <mdm.724555881@argus.apple.com> mdm@apple.com writes:
  13. >
  14. >Hi all.
  15. >
  16. >In the man page for aixterm, it states that I can avoid having an
  17. >entry placed in /etc/utmp if I specify the flag -ut.  I WANT an entry
  18. >(so that I can see how many times I'm logged in with 'who'), so I
  19. >DON'T specify -ut, but that doesn't work.  +ut doesn't work, either,
  20. >and if I check the process list, it does confirm that I'm on multiple
  21. >ptys.
  22. >
  23. >Any ideas out there?
  24.  
  25. This was just posted; I don't know if this will help.  Perhaps, your 
  26. xterm was not built to allow utmp logging:
  27.  
  28. >Article: 18970 of comp.unix.aix
  29. >From: millert@nordsieck.cs.Colorado.EDU (Todd C. Miller)
  30. >Subject: Re: Why does xterm not put in a utmp entry?
  31. >Date: Wed, 16 Dec 1992 16:33:15 GMT
  32. >
  33. >Adding the following to main.c will work:
  34. >#ifdef AIX3
  35. >#define HAS_UTMP_UT_HOST
  36. >#endif /* AIX3 */        
  37. >
  38. >Alternately you could just add -DHAS_UTMP_UT_HOST to MAIN_DEFINES in the
  39. >Makefile or Imakefile.
  40. >
  41. > - todd
  42.  
  43. -- 
  44. internet: konopik@austin.ibm.com          |  Brad Konopik
  45.    uunet: uunet!austin.ibm.com!konopik    |  IBM AIX Porting Center
  46.  ibmvnet: KONOPIK at AUSTIN               |  Austin, Texas
  47.