[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] RE: script timer
- Subject: Re: [LI] RE: script timer
- From: Bhyrava Prasad <prasadb@xxxxxxxxxx>
- Date: Wed, 18 Aug 1999 12:52:27 +0530
> The point is, you don't have to change the code every time you sit on
> a different terminal.
>
> > printf("%c[2J", 27);
>
> Again, hard coding ASCII is bad, and works against portable code.
>
> > This will clear the screen, and that is what I meant. I don't
> > think we need to use curses, just for clearing screens.
If you just want to clear the screen in
a portable manner, you can use libtermcap. See 'info termcap'.
- - Bhyrav
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.
------------------------------