From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2206 invoked from network); 28 Aug 2002 17:57:30 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 28 Aug 2002 17:57:30 -0000 Received: (qmail 19498 invoked by alias); 28 Aug 2002 17:57:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17592 Received: (qmail 19479 invoked from network); 28 Aug 2002 17:57:19 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: zsh-4.04 and w3m browser In-reply-to: "Wayne Davison"'s message of "Wed, 28 Aug 2002 09:48:47 PDT." Date: Wed, 28 Aug 2002 18:56:51 +0100 Message-ID: <24871.1030557411@csr.com> From: Peter Stephenson Wayne Davison wrote: > On Wed, 28 Aug 2002, Vincent Lefevre wrote: > > But how to make it work for any command? (and that should work even > > when there are pipes and so on.) > > If there were some way to run a shell function after the user hits > return but before the line is parsed, it would be possible for the > function to add single quotes to all the strings of non-spaces that > start with http: (assuming that the command-line was in a variable > that could be modified). I've never dared add this because it's too easy to get the shell into a state where it will never work again. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************