This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ncurses/termcap, just won't clear the screen?


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@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]