delorie.com/archives/browse.cgi | search |
From: | huotte AT rpi DOT edu (Ed Huott) |
Subject: | Re: clear screen? |
1 Jul 1997 20:54:58 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199707020213.WAA76090.cygnus.gnu-win32@alumni.rpi.edu> |
Original-To: | john DOT cooper AT digitivity DOT com |
Original-CC: | GNU-Win32 AT cygnus DOT com |
In-reply-to: | <19970701094858562.AAA316@TENDLE> (John.Cooper@digitivity.com) |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
john DOT cooper AT digitivity DOT com writes: > > Is there a command to clear the screen when using bash? > > `type clear' and `type cls' reveal nothing. > > Thanks, > > --- John > Try adding the following function definition to your .profile (which gets processed when bash is started with the `-login' switch): clear () { command.COM /c cls ; } export -f clear It's crude (and slow), but it does work. <ED> - 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 |