From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17097 invoked from network); 8 Nov 2006 19:41:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Nov 2006 19:41:46 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 82817 invoked from network); 8 Nov 2006 19:41:39 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Nov 2006 19:41:39 -0000 Received: (qmail 10253 invoked by alias); 8 Nov 2006 19:41:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22987 Received: (qmail 10243 invoked from network); 8 Nov 2006 19:41:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Nov 2006 19:41:35 -0000 Received: (qmail 82494 invoked from network); 8 Nov 2006 19:41:35 -0000 Received: from wr-out-0506.google.com (64.233.184.229) by a.mx.sunsite.dk with SMTP; 8 Nov 2006 19:41:31 -0000 Received: by wr-out-0506.google.com with SMTP id i12so22498wra for ; Wed, 08 Nov 2006 11:41:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=jzAfdp66w08mJ8RcU0KWGWiW+eUKOu7RPyBgMgY/RK4TwBMek0VJWQxGdoFzqGPVOMEAINga+LWpMDQ0IIhtPJTH88XzqYfE2/crB+eUTlEyoQw38gnzFhWqmbAYiCOddP/QeEHCpKC7aj3nTx/BWawIm7uqeWQOjuzbSp7N3+k= Received: by 10.90.105.19 with SMTP id d19mr8638agc.1163014889303; Wed, 08 Nov 2006 11:41:29 -0800 (PST) Received: by 10.90.65.18 with HTTP; Wed, 8 Nov 2006 11:41:29 -0800 (PST) Message-ID: Date: Wed, 8 Nov 2006 20:41:29 +0100 From: "Nikolai Weibull" Sender: nikolai.weibull@gmail.com To: "Peter Stephenson" Subject: Re: Adding hook to SIGWINCH Cc: "Zsh hackers list" In-Reply-To: <200611081934.kA8JYPSu009347@news01.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200611081934.kA8JYPSu009347@news01.csr.com> X-Google-Sender-Auth: 0baab4f0019768ea On 11/8/06, Peter Stephenson wrote: > "Nikolai Weibull" wrote: > > It would be nice if one could be notified when a SIGWINCH has been > > received so that things depending on $LINES or $COLUMNS can adjust to > > their new values. > > You should already be able to define TRAPWINCH() { ... }. Ah, but this will override the previous definition, will it not? nikolai