getting 'clear' to work in Emacs shell
Oleksandr Gavenko
gavenko@bifit.com.ua
Tue Oct 19 10:45:00 GMT 2010
On 19.10.2010 11:55, Oleksandr Gavenko wrote:
>
> shell-mode does not understand terminal ESC sequences.
>
> For example there exist special functions:
>
> ansi-color-for-comint-mode-on
> ansi-color-for-comint-mode-off
>
I want say that some useful terminal ESC sequences Emacs shell-mode
can handle properly.
Other like generated by clear is not.
But in shell-mode Emacs set TERM=dumb, from manual for 'clear'
it uses terminfo db, so must not generate any output.
So or your terminfo db damaged or you have invalid TERM env var in
shell-mode
(for example it can be set in ~/.bashrc).
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list