Can't clear the display
Michael Hirmke
mh@mike.franken.de
Fri Feb 4 14:43:00 GMT 2000
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@mike.franken.de
| WWW http://aquarius.franken.de/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list