J Std 033c Pdf Download

0 views
Skip to first unread message
Message has been deleted

Bok Mull

unread,
Jul 16, 2024, 9:08:36 PM7/16/24
to tosatingwork

I was looking for a way to "reset" my Unix terminal window after closing my program, and stumbled upon printf("\033c" ); which works perfectly, but I just can't understand it. I went to man console_codes and since I'm somewhat inexperienced with Unix c programming, it wasn't very helpful.

J Std 033c Pdf Download


Download https://byltly.com/2yVAHj



However (as noted by the comment by chux) the sequence "\x1bc" will not do the same as "\033c". That's because 0x1bc is a valid hexadecimal number, and the compiler is greedy when it parses such sequences. It will print the character represented by the value 0x1bc instead, and I have no idea what it might be (depends on locale and terminal settings I suppose, might be printed as a Unicode character).

aa06259810
Reply all
Reply to author
Forward
0 new messages