[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: [LI] RE: script timer



     Hi Binand,

     Curses uses the termcap entries. If we know we are working
     on a ANSI compliant terminal we can avoid Curses by giving

     printf("%c[2J", 27);

     This will clear the screen, and that is what I meant. I don't
     think we need to use curses, just for clearing screens.

     Suvendra

> -----Original Message-----
> From:	Binand Raj S. [SMTP:binand@xxxxxxxxxxxxxxxxxxxxx]
> Sent:	Tuesday, August 17, 1999 8:50 AM
> To:	linux-india@xxxxxxxxx
> Subject:	Re: [LI] RE: script timer
> 
> #include <curses.h>
> int main (void)
> {
>    initscr();
>    clear();
>    refresh();
>    endwin();
>    exit(0);
> }
> 
- --------------------------------------------------------------------
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.

------------------------------