Subject: RE: How to clear the screen with bash ?
From: [email-masked] (Howarth, Richard)

2 Jul 1998 15:37:05 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: multipart/mixed;
	boundary="---- =_NextPart_000_01BDA598.453ADEE0"
To: [email-masked]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_000_01BDA598.453ADEE0
Content-Type: text/plain

> Michael Hirmke wrote:
> > >> How to clear the screen with bash ?
> > >>
> > >
> > >CTRL-L.
> > 
> > MIKE-[/home/mh]_$^L
> > bash.exe: Got 12
> > : command not found
> > 
> > >
> 
> 1. You TERM variable is not set to "linux".
> 2. Missing /etc/termcap with linux terminal description.

He's acutally typing the ^L at the command prompt which bash is trying
to interperet as a command, which if it isn't aliased in some way won't
work (unless this is a feature of bash - I'm more familiar with ksh).
Another way of clearing the screen if you are using termcap/terminfo is
to use the "tput" command, "tput clear" to clear the screen.
This has the added bonus of allowing you to use all the defined terminal
capabilities such as colour, video effects and cursor positioning (if
your version of tput allows parameters) from the shell and scripts.

> 
> -- 
> Sergey Okhapkin, http://www.lexa.ru/sos
> Moscow, Russia.
> 
> -
> For help on using this list (especially unsubscribing), send 
> a message to
> "[email-masked]" with one line of text: "help".
> 

------ =_NextPart_000_01BDA598.453ADEE0
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

------ =_NextPart_000_01BDA598.453ADEE0--
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".