All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Sessions <dsessions@ionosphere.net>
To: linux-c-programming@vger.kernel.org
Subject: Re: clear the screen
Date: Mon, 21 Feb 2005 08:50:51 -0500	[thread overview]
Message-ID: <BE3F516B.2C95%dsessions@ionosphere.net> (raw)
In-Reply-To: <20050221181234.3d0de19a.wu_jian@263.net>


system("clear");

On 2/21/05 5:12 AM, "YYW" <wu_jian@263.net> wrote:

> On Mon, 21 Feb 2005 15:26:51 +0530
> "Vinodkumar Nair" <vinodkumar.nair@patni.com> wrote:
> 
>>>> printf("\e[0m\e[2J\e[1;1H");
>> 
>> How does this printf work to clear the screen?
> It's ascii control character. 2J means clear the screen and
> 1;1H set the cursor position.
> 
>> 
>> -
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-c-programming" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



  reply	other threads:[~2005-02-21 13:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21  7:08 clear the screen kaushal
2005-02-21  7:59 ` J.
2005-02-21  9:56   ` Vinodkumar Nair
2005-02-21 10:12     ` YYW
2005-02-21 13:50       ` Darren Sessions [this message]
2005-02-21 14:15         ` Ron Michael Khu
2005-02-23  0:16 ` Glynn Clements
2005-02-23 12:54   ` Progga
2005-02-28  6:36     ` Glynn Clements

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=BE3F516B.2C95%dsessions@ionosphere.net \
    --to=dsessions@ionosphere.net \
    --cc=linux-c-programming@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.