Subject: Re: ksh: escape spaces when expanding
To: None <email@example.com>
From: Jaromir Dolecek <firstname.lastname@example.org>
Date: 09/25/1999 15:02:04
It's done for vi mode only at the moment :) I'll make it work for both
Greg A. Woods wrote:
> [ On Wednesday, September 22, 1999 at 18:51:27 (+0200), Jaromir Dolecek wrote: ]
> > Subject: Re: ksh: escape spaces when expanding
> > so I added escaping of (hopefully) all shell special chars. The only
> > change is in the vi.c:complete_word(). The " & ' quoting is still
> > not handled at all.
> I just tried your patch and unfortunately it doesn't seem to do anything
> at all!
> My shell is in 'gmacs' mode, and I did the following:
> 21:42  $ ls -l foob*
> -rw-r--r-- 1 woods sunstaff 0 Sep 24 21:34 foobar done.txt
> I type->>> 21:43  $ ls -l foob<ESC><ESC>
> result->>> 21:43  $ ls -l foobar done.txt
> I.e. no escaping is happening upon filename completion for me. I've
> been really wanting this feature for a long time so I can finally tell
> my bash-using friends that their shell is truly 100% deprecated by a
> much better program!
> I don't see any thing really wrong in your changes, but I've not looked
> further in the code yet to see what's really going on....
> Greg A. Woods
> +1 416 218-0098 VE3TCP <email@example.com> <robohack!woods>
> Planix, Inc. <firstname.lastname@example.org>; Secrets of the Weird <email@example.com>
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
"The only way how to get rid temptation is to yield to it." -- Oscar Wilde