system("clear");
On 2/21/05 5:12 AM, "YYW" <[EMAIL PROTECTED]> wrote:
> On Mon, 21 Feb 2005 15:26:51 +0530
> "Vinodkumar Nair" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
>> 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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html