* 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
* Re: watch on HP-UX 10.20
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
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Main @ 1998-05-13 14:39 UTC (permalink / raw)
To: Darren Marshall; +Cc: zsh-workers
Darren Marshall wrote:
>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.
Does the utmpx file actually exist? We could check for its existence
in configure, and only use a file that does exist.
-zefram
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: watch on HP-UX 10.20
1998-05-13 14:39 ` Andrew Main
@ 1998-05-13 14:50 ` Darren Marshall
0 siblings, 0 replies; 3+ messages in thread
From: Darren Marshall @ 1998-05-13 14:50 UTC (permalink / raw)
To: Andrew Main; +Cc: zsh-workers
On Wed, May 13, 1998 at 03:39:54PM +0100, Andrew Main wrote:
> Darren Marshall wrote:
> >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.
>
> Does the utmpx file actually exist? We could check for its existence
> in configure, and only use a file that does exist.
>
> -zefram
Yes it does. The utmpx.h header file also exists but configure chose to ignore
it. I tried defining HAVE_UTMPX_H in config.h but then I got compilation errors
which I assumed to be the reason configure ignored it so I didn't investigate
any further and altered system.h instead.
--
__ _-==-=_,-.
/--`' \_@-@.--<
`--'\ \ <___/.
\ \\ " /
>=\\_/`<
____ /= | \_|/
_' `\ _/=== \___/
= -_ __/=====================================================================
| Darren Marshall | Tel: (780) 4020 internal |
| mailto:marshad@behp72.gpt.co.uk | +44 (0)115 9434020 |
=============================================================================
"We are upping our standards ... so up yours." -- Pat Paulsen for President,
1988.
^ 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).