Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: problem: emacs interactive shell and cpan

by clemburg (Curate)
on Dec 05, 2001 at 22:43 UTC ( [id://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
http://www.brainbench.com

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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://129702]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-23 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found