delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/05/10:30:46

Message-Id: <200001051525.JAA17915@darwin.sfbr.org>
Date: Wed, 5 Jan 2000 09:25:33 -0600 (CST)
From: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
Subject: clear screen in bash ?
To: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc
Reply-To: djgpp AT delorie DOT com

OK, it's always the simple stuff that confuses me...

Is there a GNU version of the Unix `clear' for clearing the screen a la
DOS `cls'.  This would be useful inside bash.  At present I have
aliased `clear' to `/dos/command.com /c cls', but I'd rather not use
command.com for anything.

Relatedly, the man page for bash 2.02.0(1) says:

     clear-screen (C-l)
          Clear the screen leaving the current line at the top of
          the screen.  With an argument, refresh the current line
          without clearing the screen.
          
This means Control-l, yes?  If so, it doesn't work for me.

TIA---jtw

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019