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)