X-Spam-Check-By: sourceware.org
Date: Wed, 25 Jan 2006 10:49:37 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Keith Christian <keithchristian@yahoo.com>
cc: cygwin@cygwin.com
Subject: Re: Losing key bindings in Bash 3.00.16(14)-release
In-Reply-To: <43D791FA.608@yahoo.com>
Message-ID: <Pine.GSO.4.63.0601251046480.2078@access1.cims.nyu.edu>
References: <43D791FA.608@yahoo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

