[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash prompt misbehaving - correction.

From: Chet Ramey
Subject: Re: bash prompt misbehaving - correction.
Date: Tue, 30 Jun 2009 08:30:35 -0400
User-agent: Thunderbird (Macintosh/20090605)

Chris Jones wrote:
> Not sure whether this is a bug in my version of bash, but I copied over
> my colored PS1 prompts from debian etch - regular user & root - and some
> convenient keyboard actions are misbehaving. After retrieving a command
> from the history via a CTRL-R, an ensuing CTRL-A moves the cursor to
> somewhere in the middle of the prompt and CTRL-E is short of the
> retrieved command's end by some ten characters.
> The main difference between debian etch and debian lenny in this respect
> appears to be that the default locale is now unicode (en_US.UTF-8).
> I remember seeing other posts relative to this type of problem, possibly
> on this list, but searching online, I could not find anything that
> explained what is happening or provided a workaround/resolution.
> Debian lenny has the following installed:
>   $ bash --version
>   GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)
>   Copyright (C) 2007 Free Software Foundation, Inc.

I can't reproduce this behavior with bash-3.2.49.

``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]