This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: getting 'clear' to work in Emacs shell
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