emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Problems with ANSI colors in shell mode in Emacs 21.2.95.


From: Andreas Schwab
Subject: Re: Problems with ANSI colors in shell mode in Emacs 21.2.95.
Date: Tue, 11 Feb 2003 17:23:15 +0100
User-agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (ia64-suse-linux)

Lute Kamstra <address@hidden> writes:

|> Andreas Schwab <address@hidden> writes:
|> 
|> [...]
|> 
|> > |> I'm not sure what Andreas Schwab's idea behind this change was.
|> > 
|> > This change is needed to get control characters passed properly to bash.
|> > Otherwise they are intercepted by readline, which is not what we want.
|> > 
|> > |> then the ^A and ^B characters don't appear anymore and things work
|> > |> fine again as they did in Emacs 21.2.90.
|> > 
|> > Do you have a custom $PS1?  
|> 
|> I do.
|> 
|> > Does it contains empty \[\] sequences?  Then this is a bug in bash.
|> 
|> It does have \[\] sequences.  They contain ANSI escape sequences to
|> set the color.  Do you consider this empty?

No, but it seems the \[\] processing is broken with --noediting.  The ^A
and ^B markers are internal quoting characters in bash strings.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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