unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* accessing shell in emacs
@ 2006-05-19 20:36 mitball
  0 siblings, 0 replies; 2+ messages in thread
From: mitball @ 2006-05-19 20:36 UTC (permalink / raw)



I'm having trouble with the accessing the shell inside emacs.  As usually I
launch the shell inside emacs using "M-x shell"  However, whenever I type
something into the shell, it's preceeded by ^M^M.  For example:

tcsh> ls
ls^M^m
...then processes command.

The commands I type still seem to work, just that it always shows the ^M^M. 
Any idea how to resolve this.  This doesn't happen if I use xterm or
something..
--
View this message in context: http://www.nabble.com/accessing+shell+in+emacs-t1652349.html#a4476620
Sent from the Emacs - Help forum at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: accessing shell in emacs
       [not found] <mailman.2082.1148072208.9609.help-gnu-emacs@gnu.org>
@ 2006-05-20 11:18 ` Gary Wessle
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Wessle @ 2006-05-20 11:18 UTC (permalink / raw)


mitball <mitchellcao@gmail.com> writes:

> I'm having trouble with the accessing the shell inside emacs.  As usually I
> launch the shell inside emacs using "M-x shell"  However, whenever I type
> something into the shell, it's preceeded by ^M^M.  For example:
> 
> tcsh> ls
> ls^M^m
> ...then processes command.

try putting this into your .emacs

(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)

save and reload the file and report back

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-20 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2082.1148072208.9609.help-gnu-emacs@gnu.org>
2006-05-20 11:18 ` accessing shell in emacs Gary Wessle
2006-05-19 20:36 mitball

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).