stefp has asked for the wisdom of the Perl Monks concerning the following question:
When installing a module with cpan, the resulting tests expect a
real ANSI terminal and the interactive shell mode is not.
As a result the ^M that should wrap to the begining of the
line is printed and the next test output is appended
instead of replacing the previous one.
As a result,the buffer is littered with tests results.
The good news is that there is some hook to do filtering. It is used by M-x ansi-color-for-comint-mode-on which looks fine. Has someone written a filter that does the right thing with ^M. It should be easy to write for a elisp master but I am just a elisp hater. Help!
A second look shows that to be perfect one should implement one of the ANSI cursor move.
-- stefp
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: problem: emacs interactive shell and cpan
by stefan k (Curate) on Dec 05, 2001 at 20:51 UTC | |
Re: problem: emacs interactive shell and cpan
by clemburg (Curate) on Dec 05, 2001 at 22:43 UTC | |
by stefp (Vicar) on Dec 05, 2001 at 23:21 UTC |
Back to
Seekers of Perl Wisdom