> After installing the latest readline updates (that fixed the earlier > prompt issue) I'm finding an issue with the vi command line interface. > > Basically, when I hit [ESC] then fwd slash (/) to search through the > history, it throws my cursor back to get beginning of the line (on top > of the prompt) and acts weird. This is in mrxvt, now if I do the same > in the basic cygwin bash shell i get this: > > [EMAIL PROTECTED] ~> / > âºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâºâº
I could not reproduce this with a quick check (I normally use set -o emacs, so I am practically clueless about vi mode). Also, I normally use a multiline prompt, which may be impacting things. I tried: $ echo $PS1 \[\e]0;[EMAIL PROTECTED] \ \[\e[35m\](${PIPESTATUS[*]}) \[\e[33m\]~\[\e[0m\]\n\$ [EMAIL PROTECTED] (0) ~ $ echo hi hi [EMAIL PROTECTED] (0) ~ $ [ESC]/e[ENTER] # those four keystrokes rewrite this line as: $ echo hi # with the cursor on the e What is your PS1? What settings do you have in your ~/.inputrc? One other thing to be aware of - readline 5.1 official patch 2 was released this weekend, so I need to make a 5.1-3 cygwin release soon to incorporate it (it dealt with initialization issues with line-wrapping). I don't know if your bug would have been fixed by official patch 2, or whether I should spend more time investigating this first. -- Eric Blake volunteer cygwin readline maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/