Re: ksh completion

2011-06-20 Thread LEVAI Daniel
On Sun, Jun 19, 2011 at 15:26:26 -0400, STeve Andre' wrote: > I hope not. I've seen this as well. I want to test this, seeing as > how I just > bumped into this. Can you post the last patch for this? Alexander has a whole bunch of excelent stuff for ksh in his repo. Seven patches IIRC, and they

Re: ksh completion

2011-06-19 Thread STeve Andre'
On 06/19/11 14:38, LEVAI Daniel wrote: On sze, maj 11, 2011 at 16:13:45 +0200, LEVAI Daniel wrote: On Tue, May 10, 2011 at 15:23:52 +0400, Alexander Polakov wrote: * LEVAI Daniel [110510 14:33]: On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: [...] Apperantly, adding ':' to ESCA

Re: ksh completion

2011-06-19 Thread LEVAI Daniel
On sze, maj 11, 2011 at 16:13:45 +0200, LEVAI Daniel wrote: > On Tue, May 10, 2011 at 15:23:52 +0400, Alexander Polakov wrote: > > * LEVAI Daniel [110510 14:33]: > > > On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: [...] > > > Apperantly, adding ':' to ESCAPEDCHARS solves the problem.

Re: ksh completion

2011-05-11 Thread LEVAI Daniel
On Tue, May 10, 2011 at 15:23:52 +0400, Alexander Polakov wrote: > * LEVAI Daniel [110510 14:33]: > > On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: > > > On Tue, May 10, 2011 at 08:41:48 +0200, LEVAI Daniel wrote: > > > > On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrot

Re: ksh completion

2011-05-10 Thread Alexander Polakov
* LEVAI Daniel [110510 14:33]: > On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: > > On Tue, May 10, 2011 at 08:41:48 +0200, LEVAI Daniel wrote: > > > On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrote: > > > > * Alexander Polakov [110502 18:19]: > > > > > Do you mean som

Re: ksh completion

2011-05-10 Thread LEVAI Daniel
On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: > On Tue, May 10, 2011 at 08:41:48 +0200, LEVAI Daniel wrote: > > On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrote: > > > * Alexander Polakov [110502 18:19]: > > > > Do you mean something like this or I got it all wrong aga

Re: ksh completion

2011-05-10 Thread LEVAI Daniel
On Tue, May 10, 2011 at 08:41:48 +0200, LEVAI Daniel wrote: > On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrote: > > * Alexander Polakov [110502 18:19]: > > > Do you mean something like this or I got it all wrong again and we > > > have to wait another 15 years for someone to dig int

Re: ksh completion

2011-05-09 Thread LEVAI Daniel
On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrote: > * Alexander Polakov [110502 18:19]: > > Do you mean something like this or I got it all wrong again and we > > have to wait another 15 years for someone to dig into this? > > That diff was wrong, this one is likely less wrong. Thi

Re: ksh completion

2011-05-09 Thread Alexander Polakov
* Alexander Polakov [110502 18:19]: > Do you mean something like this or I got it all wrong again and we > have to wait another 15 years for someone to dig into this? That diff was wrong, this one is likely less wrong. Index: bin/ksh/edit.c ===

Re: ksh completion

2011-05-02 Thread Matthew Dempsky
On Mon, May 2, 2011 at 7:19 AM, Alexander Polakov wrote: > Do you mean something like this or I got it all wrong again and we > have to wait another 15 years for someone to dig into this? I think ksh could really benefit from some regression tests to check that tab completion is behaving sanely.

Re: ksh completion

2011-05-02 Thread Alexander Polakov
* Martynas Venckus [110410 05:17]: > > hi, > > > > (this is a re-post) > > > > make tab completion work for '=', '`', '[', ':', and '$' - pulled from > > mksh by Alexander Polakov (also posted to tech recently). > > > > closes pr 6006 too. > > > > comments/ok? > > The diff is a workaround and eve

Re: ksh completion

2011-04-09 Thread Martynas Venckus
h ESMTP id p2F8jhx2026590 > (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 15 > Mar 2011 04:45:44 -0400 (EDT) > Date: Tue, 15 Mar 2011 04:45:43 -0400 > From: Okan Demirmen > To: tech@openbsd.org > Cc: r...@openbsd.org > Subject: ksh completi

Re: ksh completion

2011-04-05 Thread Alexander Polakov
* Alexander Polakov [110324 15:48]: > * Alexander Polakov [110315 23:26]: > > * Federico G. Schwindt [110315 17:38]: > > > > I think I'm slightly confused as to you'd like fixed - do you mean that > > > > one shouldn't need to escape a '[' if it's the first character? (note > > > > that /bin/[ e

Re: ksh completion

2011-03-28 Thread LEVAI Daniel
On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote: > And just for the archives, a patch that really works as advertised > (and using it for some time I feel like it *is* a good idea). One thing I've noticed: $ touch 'thing [another thing & aaa' $ touch 'thing [another thing & bbb' $

Re: ksh completion

2011-03-24 Thread LEVAI Daniel
On Thu, Mar 24, 2011 at 16:30:12 +0100, Janjaap van Velthooven wrote: > On Thu, Mar 24, 2011 at 03:40:56PM +0100, LEVAI Daniel wrote: > > On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote: > > > And just for the archives, a patch that really works as advertised > > > (and using it for

Re: ksh completion

2011-03-24 Thread Janjaap van Velthooven
On Thu, Mar 24, 2011 at 03:40:56PM +0100, LEVAI Daniel wrote: > On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote: > > And just for the archives, a patch that really works as advertised > > (and using it for some time I feel like it *is* a good idea). > > It is really working well. T

Re: ksh completion

2011-03-24 Thread LEVAI Daniel
On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote: > And just for the archives, a patch that really works as advertised > (and using it for some time I feel like it *is* a good idea). It is really working well. Thanks! However, I don't quite understand why '[' needs to be escaped dur

Re: ksh completion

2011-03-24 Thread Alexander Polakov
* Alexander Polakov [110315 23:26]: > * Federico G. Schwindt [110315 17:38]: > > > I think I'm slightly confused as to you'd like fixed - do you mean that > > > one shouldn't need to escape a '[' if it's the first character? (note > > > that /bin/[ exists). Else, can you clarify a bit more? Tha

Re: ksh completion

2011-03-15 Thread Alexander Polakov
* Federico G. Schwindt [110315 17:38]: > > I think I'm slightly confused as to you'd like fixed - do you mean that > > one shouldn't need to escape a '[' if it's the first character? (note > > that /bin/[ exists). Else, can you clarify a bit more? Thanks! > > correct, shouldn't need to escape

Re: ksh completion

2011-03-15 Thread Federico G. Schwindt
On Tue, Mar 15, 2011 at 08:39:48AM -0400, Okan Demirmen wrote: > On Tue 2011.03.15 at 11:14 +, Federico G. Schwindt wrote: > > On Tue, Mar 15, 2011 at 01:00:30PM +0200, Paul Irofti wrote: > > > On Tue, Mar 15, 2011 at 06:47:22AM -0400, Okan Demirmen wrote: > > > > On Tue 2011.03.15 at 12:19 +02

Re: ksh completion

2011-03-15 Thread Federico G. Schwindt
On Tue, Mar 15, 2011 at 03:13:45PM +0200, Paul Irofti wrote: > On Tue, Mar 15, 2011 at 11:14:09AM +, Federico G. Schwindt wrote: > > On Tue, Mar 15, 2011 at 01:00:30PM +0200, Paul Irofti wrote: > > > On Tue, Mar 15, 2011 at 06:47:22AM -0400, Okan Demirmen wrote: > > > > On Tue 2011.03.15 at 12:

Re: ksh completion

2011-03-15 Thread Paul de Weerd
On Tue, Mar 15, 2011 at 03:13:45PM +0200, Paul Irofti wrote: | > i'd like to see this but without the need to escape [ to be honest. | | I don't think that's possible due to the stupidity of the '[' executable. What does /bin/[ have to do with completion of filenames ? You can `cd ~; touch ifc

Re: ksh completion

2011-03-15 Thread Paul Irofti
On Tue, Mar 15, 2011 at 11:14:09AM +, Federico G. Schwindt wrote: > On Tue, Mar 15, 2011 at 01:00:30PM +0200, Paul Irofti wrote: > > On Tue, Mar 15, 2011 at 06:47:22AM -0400, Okan Demirmen wrote: > > > On Tue 2011.03.15 at 12:19 +0200, Paul Irofti wrote: > > > > On Tue, Mar 15, 2011 at 04:45:43

Re: ksh completion

2011-03-15 Thread Okan Demirmen
On Tue 2011.03.15 at 11:14 +, Federico G. Schwindt wrote: > On Tue, Mar 15, 2011 at 01:00:30PM +0200, Paul Irofti wrote: > > On Tue, Mar 15, 2011 at 06:47:22AM -0400, Okan Demirmen wrote: > > > On Tue 2011.03.15 at 12:19 +0200, Paul Irofti wrote: > > > > On Tue, Mar 15, 2011 at 04:45:43AM -0400

Re: ksh completion

2011-03-15 Thread Federico G. Schwindt
On Tue, Mar 15, 2011 at 01:00:30PM +0200, Paul Irofti wrote: > On Tue, Mar 15, 2011 at 06:47:22AM -0400, Okan Demirmen wrote: > > On Tue 2011.03.15 at 12:19 +0200, Paul Irofti wrote: > > > On Tue, Mar 15, 2011 at 04:45:43AM -0400, Okan Demirmen wrote: > > > > hi, > > > > > > > > (this is a re-post

Re: ksh completion

2011-03-15 Thread Paul Irofti
On Tue, Mar 15, 2011 at 06:47:22AM -0400, Okan Demirmen wrote: > On Tue 2011.03.15 at 12:19 +0200, Paul Irofti wrote: > > On Tue, Mar 15, 2011 at 04:45:43AM -0400, Okan Demirmen wrote: > > > hi, > > > > > > (this is a re-post) > > > > > > make tab completion work for '=', '`', '[', ':', and '$' -

Re: ksh completion

2011-03-15 Thread Okan Demirmen
On Tue 2011.03.15 at 12:19 +0200, Paul Irofti wrote: > On Tue, Mar 15, 2011 at 04:45:43AM -0400, Okan Demirmen wrote: > > hi, > > > > (this is a re-post) > > > > make tab completion work for '=', '`', '[', ':', and '$' - pulled from > > mksh by Alexander Polakov (also posted to tech recently). >

Re: ksh completion

2011-03-15 Thread Paul Irofti
On Tue, Mar 15, 2011 at 04:45:43AM -0400, Okan Demirmen wrote: > hi, > > (this is a re-post) > > make tab completion work for '=', '`', '[', ':', and '$' - pulled from > mksh by Alexander Polakov (also posted to tech recently). This diff doesn't work for me with files containing '['. This is the

ksh completion

2011-03-15 Thread Okan Demirmen
hi, (this is a re-post) make tab completion work for '=', '`', '[', ':', and '$' - pulled from mksh by Alexander Polakov (also posted to tech recently). closes pr 6006 too. comments/ok? Index: edit.c === RCS file: /home/okan/hack/

Re: ksh completion for [, :, $

2011-02-05 Thread Nick Guenther
On Fri, Feb 4, 2011 at 1:42 PM, Alexander Polakov wrote: > Hi there, > > I sent this diff to bugs@ some time ago but haven't got any replies. > Probably tech@ is a better place for it. > > The problem is known as bz#6006/user. > > The fix is taken from mksh (rev.1.4 for [ and rev.1.184 for others)

ksh completion for [, :, $

2011-02-04 Thread Alexander Polakov
Hi there, I sent this diff to bugs@ some time ago but haven't got any replies. Probably tech@ is a better place for it. The problem is known as bz#6006/user. The fix is taken from mksh (rev.1.4 for [ and rev.1.184 for others). It adds quoting character (QCHAR) when [, $, ` are prepended by \ to