From: kunglao AT prairienet DOT org Subject: Re: ncurses just won't clear the screen? 24 May 1997 01:38:39 -0700 Sender: mail AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199705231134.GAA05152.cygnus.gnu-win32@bluestem.prairienet.org> References: <199705192156 DOT QAA29407 AT bluestem DOT prairienet DOT org> Comments: Authenticated sender is Original-To: "eric hilton" , gnu-win32 AT cygnus DOT com MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT In-reply-to: <199705220753.DAA25252@r02n05.cac.psu.edu> X-mailer: Pegasus Mail for Win32 (v2.53/R1) Original-Sender: owner-gnu-win32 AT cygnus DOT com > Check your /etc/termcap file to see if you have the updated one. > Basic term abilities seem to work now. I got rogue compiled and > working just fine. (Although I didn't use ncurses, it comes with a > toned down curses implementation) I copied it straight from /usr/etc. > Try this: > > #include > 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. That did work perfectly with TERM=linux. So perhaps it's just ncurses that's not doing the screen clears. That's where the clear.exe came from, and many of the test programs aren't working. BTW, I found that vt200 does work for screen clears. But then you lose things like color. --- "Oh, what sad times are these when passing ruffians can say 'Ni!' at will to old ladies. There is a pestulance upon this land, nothing is sacred. Even those who arrange and design shrubberies are under considerable economic stress of this period of history." -- Roger the Shrubber - 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".