X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <287016.30328.qm@web56705.mail.re3.yahoo.com> Date: Mon, 18 Oct 2010 06:53:00 -0700 (PDT) From: Jeff Rancier Subject: getting 'clear' to work in Emacs shell To: cygwin AT cygwin DOT com Cc: Jeff Rancier MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600) of 2003-03-27 on buffy GNU bash, version 3.2.51(24)-release (i686-pc-cygwin) CYGWIN_NT-5.1 1.7.7(0.230/5/3) 2010-08-31 09:58 Microsoft Windows XP Pro - Version 2002, SP3 The 'clear' work's in a Cygwin Bash session, C106426 AT USLINY2R86KRP8 ~ $ alias clear alias clear='cat ~/.cls' C106426 AT USLINY2R86KRP8 ~ $ less .cls ESC[2J .cls (END) But doesn't within Emacs: C-z runs the command shell which is an interactive compiled Lisp function in `shell'. (shell &optional BUFFER) All I get within an Emacs shell session is the following, without clearing the screen. Is there some envionment variable I need to set here? bash-3.2$ clear [2J bash-3.2$ -- 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