[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unwanted `^A' and `^B' characters in bash prompt.
From: |
Lute Kamstra |
Subject: |
Re: Unwanted `^A' and `^B' characters in bash prompt. |
Date: |
Wed, 28 May 2003 14:42:29 +0200 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> The discussion ended with Andreas writing a bug report to the
> bash maintainers.
>
> Did they fix the bash bug?
I don't know how to verify this. Andreas, can you tell?
> This, however, does not solve the problem for users of current
> versions of bash (including me :-( ). So I wrote a small
> function that removes the unwanted `^A' and `^B' characters from
> the bash prompt. Shall I put this function in etc/PROBLEMS as
> shown in the patch below?
>
> Is there a reasonable way to install this code in comint.el or
> shell.el that won't do any harm to users in other situations? All
> else being equal, it would be better to DTRT automatically than to
> make the user go to an effort to compensate.
I think the code can be installed in shell.el. The function that
filters the ^A and ^B characters could be put on
`comint-output-filter-functions' automatically when bash is used.
I'll look into it when I'm back from my holidays next week.
Lute.