From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9614 invoked from network); 4 Mar 2000 04:46:19 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Mar 2000 04:46:19 -0000 Received: (qmail 21565 invoked by alias); 4 Mar 2000 04:46:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9989 Received: (qmail 21547 invoked from network); 4 Mar 2000 04:46:08 -0000 From: "Bart Schaefer" Message-Id: <1000304044603.ZM21103@candle.brasslantern.com> Date: Sat, 4 Mar 2000 04:46:03 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: The `zle' command and traps MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Here's an odd tidbit ... `zle' from a trap handler can actually affect the line editor, if and only if the signal happens to arrive while ZLE is active. E.g. try TMOUT=2 ; TRAPALRM() { zle -R "Hi there, I'm a trap." } Of course if the signal arrives when ZLE is not active, this generates an ugly warning message. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com