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