delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/27/11:22:57

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Clearing the COMPLETE screen.
Date: Mon, 27 Feb 2006 11:21:58 -0500
Message-ID: <4C89134832705D4D85A6CD2EBF38AE0F14689A@PAUMAILU03.ags.agere.com>
From: "Williams, Gerald S \(Jerry\)" <gsw AT agere DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k1RGMqnt004579

Igor Peshansky wrote:
> Yes, but "printf '\ec'" works ju-ust fine in bash... :-)

Even better. That works unchanged in both bash and zsh.

> Do you set your TERM to "rxvt" or "xterm"?  The control sequence in
> the terminfo database may be wrong if you don't use the native "rxvt"
> terminal setting.

I've tried both "rxvt" and "xterm". Either way, it doesn't clear the
contents of the scrollback buffer. Looking a bit deeper, the terminfo
and termcap clear/cl entries for both term types are "\E[H\E[2J", so
it's doing the same thing, I think.

gsw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019