help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to discard escape sequences from sub-shell output?


From: Andreas Politz
Subject: Re: How to discard escape sequences from sub-shell output?
Date: Wed, 08 Dec 2010 15:16:29 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Elena <egarrulo@gmail.com> writes:

> On 29 Giu, 20:12, Andreas Politz <poli...@fh-trier.de> wrote:
>> Put
>> (ansi-color-for-comint-mode-on)
>> in your shell hook.
>
> Thanks, Andrea.
>
> That does not fix the issue. Here is my code:
>
>       (autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
>       (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
>       (let ((explicit-shell-file-name "C:/Programmi/Putty/plink")
>                 (explicit-plink-args '("-ssh" "root@XXXXX")))
>               (shell))
>
> emacs-version: 23.1.1
> Windows XP SP3

Yes, that was a bit quick.  These are not color escape sequences.

-ap


reply via email to

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