Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to clear screen?

307 views
Skip to first unread message

Barry Robertson

unread,
Oct 10, 2000, 3:00:00 AM10/10/00
to

I understand that "CTRL-L" clears the screen in a terminal
window. However, I'd like to get it set up as an alias
called 'cls' or 'clear'. I can't figure out the syntax
or if it's possible from the help on Dev.ansi.

Anyone done this before?

Thanks,
Barry

Stephen Thomas

unread,
Oct 10, 2000, 3:00:00 AM10/10/00
to
Get 'cls' from www.qnxstart.com

Barry Robertson <brobe...@SoftwareRemodeling.com> wrote in message
news:39E35F27...@SoftwareRemodeling.com...

Barry Robertson

unread,
Oct 11, 2000, 3:00:00 AM10/11/00
to
Unfortunately the 'cls' at qnxstart is for Neutrino, and I need
it for QNX4.

-Barry

Barry Robertson

unread,
Oct 11, 2000, 3:00:00 AM10/11/00
to
I found something on the QNX site that mentions differences
between QNX2 and QNX4. cls is equivalent to the alias
echo \\014.

Hope that helps someone else.
-Barry

Ken Recchia

unread,
Oct 11, 2000, 3:00:00 AM10/11/00
to
Use echo "\f" in a shell script.

KenR

Stephen Thomas

unread,
Oct 11, 2000, 3:00:00 AM10/11/00
to
Arrrg...I wish they would separate comp.os.qnx.qnx4 and comp.os.qnx.rtp

Barry Robertson <brobe...@SoftwareRemodeling.com> wrote in message

news:39E468C6...@SoftwareRemodeling.com...


> Unfortunately the 'cls' at qnxstart is for Neutrino, and I need
> it for QNX4.
>
> -Barry
>
> Stephen Thomas wrote:
> >
> > Get 'cls' from www.qnxstart.com
> >
> > Barry Robertson <brobe...@SoftwareRemodeling.com> wrote in message
> > news:39E35F27...@SoftwareRemodeling.com...
> > >

Mario Charest

unread,
Oct 12, 2000, 3:00:00 AM10/12/00
to

"Stephen Thomas" <slth...@corpDOTolin.com> wrote in message
news:8s2tkv$ag3$1...@inn.qnx.com...


> Arrrg...I wish they would separate comp.os.qnx.qnx4 and comp.os.qnx.rtp
>

They have (or will shortly). Use inn.qnx.com

Stephen Thomas

unread,
Oct 15, 2000, 3:00:00 AM10/15/00
to
/usr/bin/clear

I guess I should have RTFM too ;-)

0 new messages