linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clear the screen
@ 2005-02-21  7:08 kaushal
  2005-02-21  7:59 ` J.
  2005-02-23  0:16 ` Glynn Clements
  0 siblings, 2 replies; 9+ messages in thread
From: kaushal @ 2005-02-21  7:08 UTC (permalink / raw)
  To: linux-c

hello all,
	Sorry for a very basic question.I would like to know how to clear the
screen from within a c program without using system("clear") or any of
the ncurses functions.Can we do this using printf?My program is in raw
mode so is there any feature available by which I can use the termios
structure for clearing the screen if it is not possible with printf.Long
ago when I used work in the dos platform I used conio.h and clrscr()
rourine.I guess I have to write that clrscr() routine's code itself.Im
working on a linux machine now.

Thanks in advance.
-kaushal.


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

end of thread, other threads:[~2005-02-28  6:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21  7:08 clear the screen kaushal
2005-02-21  7:59 ` J.
2005-02-21  9:56   ` Vinodkumar Nair
2005-02-21 10:12     ` YYW
2005-02-21 13:50       ` Darren Sessions
2005-02-21 14:15         ` Ron Michael Khu
2005-02-23  0:16 ` Glynn Clements
2005-02-23 12:54   ` Progga
2005-02-28  6:36     ` Glynn Clements

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 NNTP newsgroup(s).