delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/04/17:37:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: 04 Feb 2000 23:27:00 +0200
From: mh AT mike DOT franken DOT de (Michael Hirmke)
To: cygwin AT sourceware DOT cygnus DOT com
Message-ID: <7YFCVCb$pfB@mike.franken.de>
In-Reply-To: <389A1A90.DB18526F@sierra.com>
Subject: Re: Can't clear the display
X-Mailer: CrossPoint v3.12d R/C9763
MIME-Version: 1.0
Organization: Kommunikationsnetz Franken e.V. (Nuernberg)
x-copyright: All rights reserved. Unauthorized copying, forwarding or publishing prohibited.
x-irc-nick: nobanzai
x-no-archive: yes

Hi Tron,

>I just download bash 2.02, and have been trying it out.  I like what
>I've seen so far expect for one important thing.  I can't seem to clear
>the screen.  I'm using to using "clear" command when I using bash on
>Linux, and "CLS" when I'm at a DOS prompt, but neither one of these
>commands works.  Is this not supportted?  It seems like it would be a
>simple enough thing to implement.
>
>Please respond directly to me, if possible, as I am not on the mailing
>list.

The clear command is part of the ncurses package.
There is another possibility, though: You can echo the appropriate
escape sequence to the screen and it will get cleared, too.

Write a small programm yourself:

#include <stdio.h>
int main() {
  printf("\033[2J");
}


Bye.
Michael.
-- 
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://aquarius.franken.de/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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