From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28071 invoked from network); 11 Feb 2008 22:45:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Feb 2008 22:45:27 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 87913 invoked from network); 11 Feb 2008 22:41:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Feb 2008 22:41:13 -0000 Received: (qmail 1986 invoked by alias); 11 Feb 2008 22:41:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24546 Received: (qmail 1971 invoked from network); 11 Feb 2008 22:41:10 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 11 Feb 2008 22:41:10 -0000 Received: from ice.42.org (ice.42.org [194.77.85.2]) by bifrost.dotsrc.org (Postfix) with ESMTP id B4B1C80482A3 for ; Mon, 11 Feb 2008 23:41:06 +0100 (CET) Received: by ice.42.org (Postfix, from userid 1000) id 04BDDB840; Mon, 11 Feb 2008 23:41:05 +0100 (CET) Date: Mon, 11 Feb 2008 23:41:04 +0100 From: Stefan `Sec` Zehl To: Peter Stephenson Cc: zsh-workers@sunsite.dk Subject: Re: Can't change stty settings with zle running Message-ID: <20080211224104.GF18078@ice.42.org> X-Current-Backlog: 2660 messages References: <20071217232508.GA71596@ice.42.org> <20071218102411.68d8252b@news01> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071218102411.68d8252b@news01> User-Agent: Mutt/1.4.2.3i I-love-doing-this: really X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle: Accept-Languages: de, en X-URL: http://sec.42.org/ X-Virus-Scanned: ClamAV 0.91.2/5779/Mon Feb 11 20:56:48 2008 on bifrost X-Virus-Status: Clean Hi, On Tue, Dec 18, 2007 at 10:24 +0000, Peter Stephenson wrote: > Stefan `Sec` Zehl wrote: > > I was trying to change a stty setting from within a signal handler: > >... > > Is it possible to fix zle -I so stty changes will be honored? > > That seems pretty reasonable since you've explicitly asked to be given > control of the terminal. I've added an internal flag for this case; when > zle regains control it will save the current settings. I tried it a > little, but you probably have a more thorough test. Thanks for your patch. I just wanted to report that I've been running with it for over a Month now, and it works perfectly. Thanks, Sec -- It's actually quite difficult to be extreme, you have to be kind of stupid limited in the information that you've been fed and possibly religuous. -- Joi Ito