Clearing the COMPLETE screen.

Richard Quadling rquadling@googlemail.com
Fri Feb 24 15:23:00 GMT 2006


With that alias, I get ...
RichardQ@richardquadling ~
$ alias cs='echo -n "\ec"'
RichardQ@richardquadling ~
$ cs
\ec
RichardQ@richardquadling ~
$
I'm using the standard bash shell. The shortcut icon is the Cygwin logo.
On 24/02/06, Williams, Gerald S (Jerry) <gsw@lovespam.com> wrote:
> 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/
>>
--
-----
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=UlF1YWRsaW5n


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /