public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Can't clear the display
@ 2000-02-03 16:14 Tron Thomas
  2000-02-04 14:43 ` Michael Hirmke
  0 siblings, 1 reply; 3+ messages in thread
From: Tron Thomas @ 2000-02-03 16:14 UTC (permalink / raw)
  To: cygwin

I just download bash 2.02, and have been trying it out.  I like what
I've seen so far expect for one important thing.  I can't seem to clear
the screen.  I'm using to using "clear" command when I using bash on
Linux, and "CLS" when I'm at a DOS prompt, but neither one of these
commands works.  Is this not supportted?  It seems like it would be a
simple enough thing to implement.

Please respond directly to me, if possible, as I am not on the mailing
list.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't clear the display
  2000-02-03 16:14 Can't clear the display Tron Thomas
@ 2000-02-04 14:43 ` Michael Hirmke
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Hirmke @ 2000-02-04 14:43 UTC (permalink / raw)
  To: cygwin

Hi Tron,

>I just download bash 2.02, and have been trying it out.  I like what
>I've seen so far expect for one important thing.  I can't seem to clear
>the screen.  I'm using to using "clear" command when I using bash on
>Linux, and "CLS" when I'm at a DOS prompt, but neither one of these
>commands works.  Is this not supportted?  It seems like it would be a
>simple enough thing to implement.
>
>Please respond directly to me, if possible, as I am not on the mailing
>list.

The clear command is part of the ncurses package.
There is another possibility, though: You can echo the appropriate
escape sequence to the screen and it will get cleared, too.

Write a small programm yourself:

#include <stdio.h>
int main() {
  printf("\033[2J");
}


Bye.
Michael.
-- 
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://aquarius.franken.de/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't clear the display
@ 2000-02-07  8:55 kulack
  0 siblings, 0 replies; 3+ messages in thread
From: kulack @ 2000-02-07  8:55 UTC (permalink / raw)
  To: Tron Thomas; +Cc: cygwin

I was never able to use readline to get \C-l working to clear the screen.
    alias       cls='echo -ne "\E[2J"'
This works fine for me on NT 4.0. Only quirk is that the bash window must
be expanded horizontally as far as it can go.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-02-07  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-03 16:14 Can't clear the display Tron Thomas
2000-02-04 14:43 ` Michael Hirmke
2000-02-07  8:55 kulack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).