This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to clear screen ??
- To: help-gcc at gnu dot org
- Subject: Re: how to clear screen ??
- From: "Pete Mullins" <pmullin at ibm dot net>
- Date: Tue, 30 Nov 1999 21:25:15 -0000
- Newsgroups: gnu.gcc,gnu.gcc.help
- Organization: Global Network Services - Remote Access Mail & News Services
- References: <820mu3$qv5v$1@reader3.wxs.nl>
- Xref: wodc7nx0 gnu.gcc.help:2021
Martijn <nobody@nowhere.org> wrote in message
820mu3$qv5v$1@reader3.wxs.nl">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)
you could write this to standard out. You may need to home the cursor as
well:
esc [ 1 ; 1 H