Results 1 to 3 of 3

Thread: Emacs shell

  1. #1
    Join Date
    Dec 2007
    Location
    ~
    Beans
    314
    Distro
    Ubuntu 10.04 Lucid Lynx

    Emacs shell

    Hey,
    I am getting a lot of garbage characters when I run any commands in the shell provided in emacs.

    I had tried looking it up in google and found this....
    http://joshstaiger.org/archives/2005...g_garbage.html

    It is a method to fix the problem.... however, it is not working and I still get to see the garbage characters in the shell.

    Any ideas guys??

  2. #2
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Emacs shell

    The method in the link is the way to fix it. You can try doing M-x ansi-color-for-comint-mode-on after enabling shell.

    What happens if start it as "emacs -q"?

    You might like to try term-mode, which is made more usable by multi-term (http://www.emacswiki.org/emacs/MultiTerm).
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  3. #3
    Join Date
    May 2009
    Beans
    4

    Re: Emacs shell

    If it still helps, I found this here :

    ;; If you decide you like this, add the following to your .emacs file:
    ;;
    ;; (autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
    ;; (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
    Tried on 22.2 and Ubuntu 10.04 and seems to fix it.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •