Hi Axel and fish friends,

I'm facing these issues when using the shell mode of emacs, which uses
by default the user shell:

[EMAIL PROTECTED] ~> ls foo
[EMAIL PROTECTED] ~> ls foo
]2;ls  ~foo
[EMAIL PROTECTED] ~> echo $TERM
[EMAIL PROTECTED] ~> echo $TERM
]2;echo  ~dumb

I've been told that fish should detect the terminal as a dumb one, so
it should detect that input is coming from a dumb terminal with no
cursor motion capability, and it shouldn't echo the command.

Another problem are the weird escape characters which are added by
fish, I think that fish should again avoid to issue them when the
terminal is dumb as in this case.

Another problem with escape coloring and fish, which caused me a major
headache when I was trying to understand it, only seems to happen when
using M-x grep-find.
I got:
find . -maxdepth 1 -type f -name foo | grep '.*' | xargs ls
ls: ./foo: No such file or directory

This occurrs again for the coloring escaping performed by grep:
find . -maxdepth 1 -type f -name foo | grep '.*' | sed -n l
\033[01;31m./foo\033[m$

which prevents ls to recognize the real name of the file.

Please don't hesitate to contact me if you need more informations.

Friendly regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to