public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: falconer@best.com (Edward A. Falk)
To: help-gcc@gnu.org
Subject: Re: how to clear screen ??
Date: Thu, 02 Dec 1999 11:43:00 -0000	[thread overview]
Message-ID: <3846c8c8$0$219@nntp1.ba.best.com> (raw)
In-Reply-To: <38444023_1@news2.prserv.net>

In article <38444023_1@news2.prserv.net>, Pete Mullins <pmullin@ibm.net> wrote:
>
>Martijn <nobody@nowhere.org> 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

WARNING: multiple messages have this Message-ID
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	[thread overview]
Message-ID: <3846c8c8$0$219@nntp1.ba.best.com> (raw)
Message-ID: <19991231222400.9Wjs2N7nKpVWUoFBzu46McmQrPKGjH7f7uFg295vNEs@z> (raw)
In-Reply-To: <38444023_1@news2.prserv.net>

In article <38444023_1@news2.prserv.net>, Pete Mullins <pmullin@ibm.net> wrote:
>
>Martijn <nobody@nowhere.org> 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

WARNING: multiple messages have this Message-ID
From: falconer@best.com (Edward A. Falk)
To: help-gcc@gnu.org
Subject: Re: how to clear screen ??
Date: Thu, 02 Dec 1999 11:43:00 -0000	[thread overview]
Message-ID: <3846c8c8$0$219@nntp1.ba.best.com> (raw)
Message-ID: <19991202114300.ldKSjMrrqcAJNtIFQ6HaTkfzSy6ZGriZ8YWytpcBs6E@z> (raw)
In-Reply-To: <38444023_1@news2.prserv.net>

In article < 38444023_1@news2.prserv.net >, Pete Mullins <pmullin@ibm.net> wrote:
>
>Martijn <nobody@nowhere.org> 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

  parent reply	other threads:[~1999-12-02 11:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-30  6:42 Martijn
1999-11-30  8:31 ` Lokesh Setia
1999-11-30 13:02   ` Martijn
1999-11-30 23:28     ` Martijn
1999-12-01  4:06     ` Lokesh Setia
1999-12-01  4:06       ` Lokesh Setia
1999-12-31 22:24       ` Lokesh Setia
1999-11-30 23:28   ` Lokesh Setia
1999-11-30 13:31 ` Pete Mullins
1999-11-30 23:28   ` Pete Mullins
1999-12-02 11:43   ` Edward A. Falk [this message]
1999-12-02 11:43     ` Edward A. Falk
1999-12-31 22:24     ` Edward A. Falk
1999-11-30 23:28 ` Martijn
1999-12-03 13:12 ` David C.
1999-12-31 22:24   ` David C.
  -- strict thread matches above, loose matches on Subject: below --
1999-11-25  6:55 Martijn
1999-11-30 23:28 ` Martijn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='3846c8c8$0$219@nntp1.ba.best.com' \
    --to=falconer@best.com \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).