This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Losing key bindings in Bash 3.00.16(14)-release


On Wed, 25 Jan 2006, Keith Christian wrote:

> Hi Folks,
>
> Versions:  Windows XP SP2, RXVT 2.7.10, Bash 3.00.16(14)-release, Cygwin
> DLL 1.5.18.
>
> Since Bash 3.x became the default version installed with Cygwin, on my
> system, Bash inexplicably loses the command line edit bindings.  This
> usually happens when a window has been open for a day or more and I've
> done alot of work in it.
>
> The problem shows itself when I press Ctrl-A or Ctrl-E or other command
> line editing keys, and instead of going to the start or the end of the
> line, I see "^A" or "^E" in the command line at the cursor position.

Are you getting the control characters for just one command, or for more
than one?

This sounds weird enough that you'd probably have to debug this yourself.
Also, does this happen in the "regular" bash window, rather than rxvt?
Does this happen in an xterm?

> I haven't discovered how to restore editing bindings to the BASH command
> line other than closing the RXVT window and re-opening it.

Try "set -o emacs".
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]