This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: tcsh clear command?


On 13 February 2008 17:30, Christopher Faylor wrote:

>> alias clear='echo -ne \\e[2J'
>> alias clear='echo -ne "\e[2J"'
> 
> Or just type CTRL-L in bash, tcsh, and zsh if you want to clear the screen.

  That also doesn't reset the buffer.  OTOH, the standard ANSI sequence "^]c"
does do that:

alias clear='echo -ne \\033c'



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]