From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id CAA25116 for ; Fri, 8 Sep 1995 02:12:46 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA19359 (5.65c/Gatech-10.0-IDA for ); Thu, 7 Sep 1995 12:13:10 -0400 Received: by math (5.x/SMI-SVR4) id AA21580; Thu, 7 Sep 1995 12:06:15 -0400 Resent-Date: Thu, 7 Sep 95 08:53:13 -0700 Old-Return-Path: Date: Thu, 7 Sep 95 08:53:13 -0700 From: esky@CS.UCLA.EDU (Eskandar Ensafi) Message-Id: <9509071553.AA15584@marathon.cs.ucla.edu> To: zsh-workers@math.gatech.edu Subject: Re: SIGWINCH patch Resent-Message-Id: <"1_B2A1.0.6H5.tXnJm"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/369 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi, Tatsuo Furukawa wrote: > > > Hello ! I am zsh novice user. > > I tried to complile zsh-2.6-beta10 on HP-UX 8.0. But , I can not compile > well. (>_<) > > Generally, I think zsh-2.6-beta10 can not compile on OS which has not > SIGWINCH. > HP-UX *does* have SIGWICH. However, some constants have to be defined for it to work: ============================================================================== /* $Header: signal.h,v 1.49.61.10 92/07/16 16:15:04 indnetwk Exp $ */ /* ... */ # define _SIGWINCH 23 /* window size change signal */ # define _SIGWINDOW _SIGWINCH /* added for compatibility reasons */ #ifdef _INCLUDE_HPUX_SOURCE /* ... */ # define SIGWINCH _SIGWINCH # define SIGWINDOW _SIGWINCH /* ... */ #endif /* _INCLUDE_HPUX_SOURCE */ /* ... */ ============================================================================== As you can see, _INCLUDE_HPUX_SOURCE must be defined. It probably isn't being defined on your system, so either there's something wrong with your configuration (system? compiler? headers?) or we have to make sure that _INCLUDE_HPUX_SOURCE gets defined ny the zsh configure script. Also note that on most systems (BSD systems in particular), SIGWINCH is defined to be 28. In HP-UX, it's 23, so we can't make any assumptions about the value of SIGWINCH (i.e., #ifndef SIGWINCH/#define SIGWINCH 28 is not recommended). - Esky