This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Clearing the COMPLETE screen.
- From: "Williams, Gerald S \(Jerry\)" <gsw at agere dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 24 Feb 2006 10:04:36 -0500
- Subject: RE: Clearing the COMPLETE screen.
Dave Korn wrote:
> I generally use a line like this:
> alias cls='cmd -c cls'
For me, that has to read 'cmd /c cls' or it doesn't work. :-P
This was mildly annoying me for a while as well. I finally
broke down and took a look into it. It looks like the ESC c
(reset terminal) control works under both RXVT and standard
"Command" windows. It resets the scrollbar in addition to
clearing the screen.
So I just changed my "clear screen" alias to:
alias cs='echo -n "\ec"'
YMMV, of course.
gsw
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/