public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: shamino1@usa.net (David C.)
To: help-gcc@gnu.org
Subject: Re: how to clear screen ??
Date: Fri, 31 Dec 1999 22:24:00 -0000	[thread overview]
Message-ID: <uk8mv92lv.fsf@qqqq.invalid> (raw)
Message-ID: <19991231222400._7T5Z3qv1Zarpd-pRtbWBjwQp5yKDpzvGSWoRYJ8qNQ@z> (raw)
In-Reply-To: <820mu3$qv5v$1@reader3.wxs.nl>

"Martijn" <nobody@nowhere.org> writes:
> 
> 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?

It's actually beyond the scope of a C compiler.  This is in the realm of
system calls.

As was said by others, the curses library is the best way for a Unix app
to manipulate a terminal window.  Check out the man pages for ncurses
for an overview.  It should point you to other man pages for specific
curses functions.  man curs_clear for the curses method of clearning the
screen.

-- David



  parent reply	other threads:[~1999-12-31 22:24 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
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. [this message]
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=uk8mv92lv.fsf@qqqq.invalid \
    --to=shamino1@usa.net \
    --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).