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: Clearing the COMPLETE screen.


Ugh, <http://cygwin.com/acronyms/#TOFU>...  Reformatted.

On Fri, 24 Feb 2006, Richard Quadling wrote:

> On 24/02/06, Williams, Gerald S (Jerry) <gsw<at>lovespam<dot>com> wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>, domain name notwithstanding.

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

YA typo.  The above should read:

alias cs='echo -ne "\ec"'

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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