Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: problem: emacs interactive shell and cpan

by clemburg (Curate)
on Dec 05, 2001 at 22:43 UTC ( #129702=note: print w/replies, xml ) Need Help??

in reply to problem: emacs interactive shell and cpan

I am not sure if I understand you right, but for a similar problem I used this little snippet for XEmacs:

;; stop ^M from appearing in shell window (add-hook 'comint-output-filter-functions 'shell-strip-ctrl-m nil t)

Christian Lemburg
Brainbench MVP for Perl

Replies are listed 'Best First'.
Re: Re: problem: emacs interactive shell and cpan
by stefp (Vicar) on Dec 05, 2001 at 23:21 UTC
    I assumed wrongly that the problem was both with emacs and xemacs and used emacs as the generic term. But emacs works as I want while xemacs does not. So all what I said before and below do apply only for xemacs

    What I want is ^M to wrap the caret to the beginning of the line, so that the material that come after the ^M overwrites the previous material. Anyway the code of shell-strip-ctrl-m is certainly a good starting point. Thanks.

    -- stefp

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://129702]
[marinersk]: SuicideJunkie LOL
[choroba]: Woohoo! Fixed a test that hasn't run for 3 years.
[marinersk]: Corion Yes, sometimes whitespace in column headers is acceptable, but I still consider it be less than desireable if that query might get revectored for an ETL-esque process...
[marinersk]: choroba++
[choroba]: it's a long running test, so it's normally skipped unless an env var is set
[choroba]: nobody has been bothered to set the variable in the last 3 years
[marinersk]: sub newtest{my $expected_result = &target('foo'); my $actual_result = &target('foo'); if ($actual_result eq $expected_result) { &tdd_success(); } else { &tdd_fail(); } } # Test works after three years!
[choroba]: or nobody bothered...
[choroba]: The problem was bigger, as the test tried to call a method that didn't exist anymore
[marinersk]: :: ducking ::

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2017-05-25 15:08 GMT
Find Nodes?
    Voting Booth?