From mboxrd@z Thu Jan 1 00:00:00 1970 From: falconer@best.com (Edward A. Falk) To: help-gcc@gnu.org Subject: Re: how to clear screen ?? Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <3846c8c8$0$219@nntp1.ba.best.com> References: <820mu3$qv5v$1@reader3.wxs.nl> <38444023_1@news2.prserv.net> X-SW-Source: 1999-12n/msg00033.html Message-ID: <19991231222400.9Wjs2N7nKpVWUoFBzu46McmQrPKGjH7f7uFg295vNEs@z> In article <38444023_1@news2.prserv.net>, Pete Mullins wrote: > >Martijn wrote in message > news:820mu3$qv5v$1@reader3.wxs.nl ... >> Hello everyone, >> >> I'm a gcc newbe >> As in the subject: What is the command (or perhaps: trick) to clear your >> screen while running gcc in your terminal-mode? >> > >The vt200 code is: esc [ 2 j (no spaces) Very bad practice unless you know for a fact that the program will *never* be run on anything but vt200-compatible terminals. Right way to do this is to learn to use libtermcap. Easy way to do this is to call system("clear") as another poster has suggested. -- -ed falk, falk@falconer.vip.best.com *********************#*************# See http://www.rahul.net/falk/whatToDo.html *#**************F******!******!*!!** and read 12 Simple Things You Can Do ********!*************************** to Save the Internet #****#******#*********!**WW*W**W