| www.delorie.com/archives/browse.cgi | search |
| From: | rcrampton AT armature DOT com (Robin Crampton) |
| Subject: | RE: How to clear the screen with bash ? |
| 30 Jun 1998 17:50:19 -0700 : | |
| Message-ID: | <TFSHHTGS.cygnus.gnu-win32@armature.com> |
| Mime-Version: | 1.0 |
| To: | gnu-win32 AT cygnus DOT com, telle AT inserm-adr DOT univ-mrs DOT fr |
In .bashrc:
clear
{
echo -n -e '\033[2J'
}
(Under DJGPP, it also needs "mode con lines=50" in .bash_login to clear
the *whole* screen when in 50-line mode.)
I think there is also a clear.exe in the ncurses package.
-
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".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |