From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20379 invoked from network); 13 Feb 1999 14:35:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Feb 1999 14:35:48 -0000 Received: (qmail 19459 invoked by alias); 13 Feb 1999 14:35:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5363 Received: (qmail 19452 invoked from network); 13 Feb 1999 14:35:34 -0000 Date: Sat, 13 Feb 1999 15:35:27 +0100 From: Vincent Lefevre To: Peter Stephenson Cc: Zsh hackers list Subject: Re: PATCH: 3.1.5*: Re: [bug] Resizing an xterm while zsh queries the user Message-ID: <19990213153527.A11128@vin.ens-lyon.fr> References: <19990205124003.A26678@vin.ens-lyon.fr> <9902051302.AA36901@ibmth.df.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <9902051302.AA36901@ibmth.df.unipi.it>; from "Peter Stephenson" on Fri, Feb 05, 1999 at 14:02:18 X-Mailer-Info: http://www.ens-lyon.fr/~vlefevre/mutt_eng.html On Fri, Feb 05, 1999 at 14:02:18 +0100, Peter Stephenson wrote: > Vincent Lefevre wrote: > > For instance, if I type "rm blah/*", zsh asks: > > > > zsh: sure you want to delete all the files in /home/vlefevre/blah [yn]? > > > > But if I resize the xterm, zsh considers that I've typed [return], > > though I haven't typed anything. Could this be fixed? > > Here's a simple patch for that. I'm not in one of my moods for > oversophistication. [snip] It doesn't work very well. For instance: $ echo blaj zsh: correct 'blaj' to 'blah' [nyae]? If I type Ctrl-C, it displays: zsh: correct 'blaj' to 'blah' [nyae]? ^C but still waits for a character. Then, if I type "y", it displays nothing and "echo " goes to the history. -- Vincent Lefevre - PhD stud. in Computer Science Web: http://www.ens-lyon.fr/~vlefevre/ - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc...