--- Begin Message ---
Subject: |
handle shell escape characters (e.g. ESC [ 0) in emacs shell |
Date: |
Thu, 3 Dec 2009 14:47:12 +0530 |
Hi,
It seems that when 'ls' is invoked with --color, it output
some escape sequences (e.g. ESC [ 0) that are not handled by
shell-mode."
Ref http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=5080#80 point 2
It would be good if emacs shell can handle these escape characters --
even if color is not displayed, the escape characters should be
hidden.
Regards
Praveen
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell |
Date: |
Sat, 05 Dec 2009 16:05:49 -0500 |
> >> It seems that when 'ls' is invoked with --color, it output some
> >> escape sequences (e.g. ESC [ 0) that are not handled by shell-mode.
>
> > The Emacs manual and FAQ suggest
>
> > (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
>
> Any objection to enabling it by default?
I just enabled it by default in the repository.
--- End Message ---