This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: ncurses/termcap, just won't clear the screen?
- To: gnu-win32 at cygnus dot com
- Subject: Re: ncurses/termcap, just won't clear the screen?
- From: mh at mike dot franken dot de (Michael Hirmke)
- Date: 24 May 1997 15:32:00 +0200
- Organization: Kommunikationsnetz Franken e.V. (Nuernberg)
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".