This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: how to clear screen ??



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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]