delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.7 required=5.0 tests=AWL,BAYES_40,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Oleksandr Gavenko <gavenko AT bifit DOT com DOT ua> |
Subject: | Re: getting 'clear' to work in Emacs shell |
Date: | Tue, 19 Oct 2010 12:06:27 +0300 |
Lines: | 21 |
Message-ID: | <i9jn2h$d90$1@dough.gmane.org> |
References: | <287016 DOT 30328 DOT qm AT web56705 DOT mail DOT re3 DOT yahoo DOT com> <i9jmdt$a22$1 AT dough DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 |
In-Reply-To: | <i9jmdt$a22$1@dough.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |