delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/24/08:49:06

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: ncurses/termcap, just won't clear the screen?
24 May 1997 08:49:06 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <6XSv1y54pfB.cygnus.gnu-win32@mike.franken.de>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <199705220753.DAA25252@r02n05.cac.psu.edu>
X-Mailer: CrossPoint v3.11 R/C9763
x-irc-nick: nobanzai
x-no-archive: yes
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi eric,

[...]
> Try this:
> 
> #include <stdio.h>
> int
> main()
> {
> 	printf("\033[2J");
> }
> 
> Compile and run it, if it clears the screen your term has the
> properties of a proper terminal.
> 
> BTW my $TERM is ansi. I set it in autoexec.bat. I seem to recall when
> I used linux term it didnt clear my screen either.

I use NT 4 with SP3 and CDK b18 and it works properly with TERM=ansi
*and* TERM=linux !

Bye.
Michael.
-- 
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mh AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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