delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/24/11:04:38

X-Spam-Check-By: sourceware.org
Date: Fri, 24 Feb 2006 11:04:31 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: RQuadling AT GMail DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: Clearing the COMPLETE screen.
In-Reply-To: <10845a340602240721t77ec515fy@mail.gmail.com>
Message-ID: <Pine.GSO.4.63.0602241100520.18478@access1.cims.nyu.edu>
References: <4C89134832705D4D85A6CD2EBF38AE0F14680F AT PAUMAILU03 DOT ags DOT agere DOT com> <10845a340602240721t77ec515fy AT mail DOT gmail DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT richardquadling ~
> $ alias cs='echo -n "\ec"'
>
> RichardQ AT richardquadling ~
> $ cs
> \ec
> RichardQ AT 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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/

- Raw text -


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