From: Ron Michael Khu <ronkhu@ntsp.nec.co.jp>
To: Darren Sessions <dsessions@ionosphere.net>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: clear the screen
Date: Mon, 21 Feb 2005 22:15:16 +0800 [thread overview]
Message-ID: <4219ECF4.2000602@hq.ntsp.nec.co.jp> (raw)
In-Reply-To: <BE3F516B.2C95%dsessions@ionosphere.net>
=)
u misunderstood the original post/question by kaushal
Darren Sessions wrote:
>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
>>>
>>>
>
>
>-
>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
>
>
>
>
next prev parent reply other threads:[~2005-02-21 14:15 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
2005-02-21 14:15 ` Ron Michael Khu [this message]
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=4219ECF4.2000602@hq.ntsp.nec.co.jp \
--to=ronkhu@ntsp.nec.co.jp \
--cc=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 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 NNTP newsgroup(s).