all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs shell colors screwed up
Date: Fri, 07 Aug 2009 20:51:54 -0600	[thread overview]
Message-ID: <h5ip8c$1qi$1@ger.gmane.org> (raw)
In-Reply-To: <a282090d-6cf9-4d40-896c-6df3bf9c69f1@x5g2000prf.googlegroups.com>

Seth Bird wrote:
> I just installed emacs 22.2.1 on Jaunty via apt-get. Here is an
> example of what happens:
> 
> sbird@server:~$ ls
> ^[[0m^[[0marc^[[0m  ^[[01;34mbqw^[[0m  ^[[0mc.arc^[[0m  ^
> [[01;34mclocks^[[0m  ^[[01;34mpublic_html^[[0m  ^[[01;32mrepeat.sh^
> [[0m  ^[[0mtodo^[[0m
> ^[[msbird@server:~$
> 
> This happens both when I'm inside gnu screen, and outside of it.
> 
> I want to keep colors, but just obviously have them work properly :)
> 
> my .emacs file:
> 
>     (global-set-key (kbd "C-x C-b") 'buffer-menu)
>     (add-hook 'shell-mode-hook '(lambda () (toggle-truncate-lines 1)))
>     (setq comint-prompt-read-only t)

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

P.S. Upgrade to Emacs 22.3 or 23.1

-- 
Kevin Rodgers
Denver, Colorado, USA





  parent reply	other threads:[~2009-08-08  2:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-08  1:49 emacs shell colors screwed up Seth Bird
2009-08-08  2:48 ` Colin Williams
2009-08-08  2:51 ` Kevin Rodgers [this message]
     [not found] ` <mailman.4151.1249699939.2239.help-gnu-emacs@gnu.org>
2009-08-08  2:58   ` Seth Bird

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h5ip8c$1qi$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.