From: Darren Marshall <marshad@ncp.gpt.co.uk>
To: zsh-workers@math.gatech.edu
Subject: watch on HP-UX 10.20
Date: Wed, 13 May 1998 14:46:27 +0100 [thread overview]
Message-ID: <19980513144627.A27888@behp72> (raw)
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
next reply other threads:[~1998-05-13 14:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-13 13:46 Darren Marshall [this message]
1998-05-13 14:39 ` Andrew Main
1998-05-13 14:50 ` Darren Marshall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19980513144627.A27888@behp72 \
--to=marshad@ncp.gpt.co.uk \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).