zsh-workers
 help / color / mirror / code / Atom feed
* watch on HP-UX 10.20
@ 1998-05-13 13:46 Darren Marshall
  1998-05-13 14:39 ` Andrew Main
  0 siblings, 1 reply; 3+ messages in thread
From: Darren Marshall @ 1998-05-13 13:46 UTC (permalink / raw)
  To: zsh-workers

I have recently upgraded to zsh from tcsh and I am mightily impressed. However,
I did find that the login/logout event reporting is not working. I am using
version 3.0.5 and after a little debugging I found the problem lies in the
following lines in system.h

#ifdef UTMPX_FILE                                /* Solaris, SysVr4 */
# undef  UTMP_FILE
# define UTMP_FILE UTMPX_FILE
#endif

#ifdef WTMPX_FILE                                /* Solaris. SysVr4 */
# undef  WTMP_FILE
# define WTMP_FILE WTMPX_FILE
#endif

Unfortunately, the utmp.h header file on HP-UX defines UTMPX_FILE. After hacking
system.h to ensure the right definition of UTMP_FILE everything works fine.

-- 
          __  _-==-=_,-.
         /--`' \_@-@.--<
         `--'\ \   <___/.
              \ \\   " /
               >=\\_/`<
   ____       /= |  \_|/
 _'    `\   _/=== \___/
= -_ __/=====================================================================
|    Darren Marshall                     |    Tel: (780) 4020 internal      |
|  mailto:marshad@behp72.gpt.co.uk       |         +44 (0)115 9434020       |
=============================================================================

Common sense and a sense of humor are the same thing, moving at different
speeds.  A sense of humor is just common sense, dancing.  -- Clive James


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-05-13 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-13 13:46 watch on HP-UX 10.20 Darren Marshall
1998-05-13 14:39 ` Andrew Main
1998-05-13 14:50   ` Darren Marshall

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).