all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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 --
2006-05-19 20:36 accessing shell in emacs mitball
     [not found] <mailman.2082.1148072208.9609.help-gnu-emacs@gnu.org>
2006-05-20 11:18 ` Gary Wessle

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.