* emacs shell colors screwed up
@ 2009-08-08 1:49 Seth Bird
2009-08-08 2:48 ` Colin Williams
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Seth Bird @ 2009-08-08 1:49 UTC (permalink / raw)
To: help-gnu-emacs
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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacs shell colors screwed up
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
[not found] ` <mailman.4151.1249699939.2239.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Colin Williams @ 2009-08-08 2:48 UTC (permalink / raw)
To: Seth Bird; +Cc: help-gnu-emacs
try out http://eddymulyono.livejournal.com/68920.html, although you
might want to use M-x ansi-term instead M-x shell
On Fri, Aug 7, 2009 at 9:49 PM, Seth Bird<seth.a.bird@gmail.com> 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)
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacs shell colors screwed up
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
[not found] ` <mailman.4151.1249699939.2239.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2009-08-08 2:51 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.4151.1249699939.2239.help-gnu-emacs@gnu.org>]
* Re: emacs shell colors screwed up
[not found] ` <mailman.4151.1249699939.2239.help-gnu-emacs@gnu.org>
@ 2009-08-08 2:58 ` Seth Bird
0 siblings, 0 replies; 4+ messages in thread
From: Seth Bird @ 2009-08-08 2:58 UTC (permalink / raw)
To: help-gnu-emacs
On Aug 7, 7:51 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> 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
Thank you! that's exactly what I want.
I used to know that, but it's been so long since I've used emacs :(
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-08 2:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[not found] ` <mailman.4151.1249699939.2239.help-gnu-emacs@gnu.org>
2009-08-08 2:58 ` Seth Bird
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.