From: YYW <wu_jian@263.net>
To: linux-c-programming@vger.kernel.org
Subject: Re: clear the screen
Date: Mon, 21 Feb 2005 18:12:34 +0800 [thread overview]
Message-ID: <20050221181234.3d0de19a.wu_jian@263.net> (raw)
In-Reply-To: <IAELLJNCHPFMOFGOCIPHOEIPCFAA.vinodkumar.nair@patni.com>
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
--
Best regards,
yyw@smth
next prev parent reply other threads:[~2005-02-21 10:12 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 [this message]
2005-02-21 13:50 ` Darren Sessions
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=20050221181234.3d0de19a.wu_jian@263.net \
--to=wu_jian@263.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).