Hi Philip,

On Sun, Nov 22, 2009 at 09:11:14PM -0800, Philip Guenther wrote:
> On Sat, Nov 21, 2009 at 9:21 PM, patrick keshishian <sids...@boxsoft.com>
> wrote:
> > On Sat, Nov 21, 2009 at 09:15:17PM -0800, patrick keshishian wrote:
> >> I wonder if included patch is a correct fix for the following
> >> "glitch" I'm seeing with ksh in `set -o vi' mode:
> >>
> >> Demonstration of "glitch":
> >>       $ touch a.c a.h
> >>       $ ls a.<TAB><RETURN>
> >>       ls: a.: No such file or directory
> >>       $ <TAB>
> >>       a.c  a.h
> >>       $
> >>
> >> With patch:
> >>       $ ls a.
> >
> > And of course I had to screw this up, but I think the point
> > was made.
> >
> > Above should've been:
> >
> >        $ ls a.<TAB><RETURN>
> >>       ls: a.: No such file or directory
> >>       $ <TAB><BEEP>
> 
> <squint>
> 
> I *think* you're saying that it's continuing to do completion of the
> "a." prefix when you hit tab, even after you've hit enter and are
> sitting at a fresh prompt.  Is that the behavior you're trying to
> report?  If so, I'm unable to reproduce that on -current, i386,
> neither at the console, in an xterm, in screen in an xterm, nor in
> tmux in an xterm.  Could you confirm the problem behavior and describe
> where you're experiencing it?

Yes. That is correct. The key is you must be in vi mode.
Emacs mode doesn't have this issue. Can you confirm that
you are in vi-editing mode? (set -o vi)

I am able to reproduce this on i386 with 4.6 and ksh from
HEAD of cvs as well as macppc-current (Nov 2nd snapshot):

OpenBSD 4.6-current (GENERIC) #185: Mon Nov  2 12:44:37 MST 2009
    dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC

HTH,
--patrick

Reply via email to