Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How do I send escape sequences to control a terminal or other device?
How do I send escape sequences to control a terminal or other device?
✍: Guest
If you can figure out how to send characters to the device at all , it's easy enough to send escape sequences. In ASCII, the ESC code is 033 (27 decimal), so code like
fprintf(ofd, "\033[J");
sends the sequence ESC [ J .
Some programmers prefer to parameterize the ESC code, like this:
#define ESC 033
fprintf(ofd, "%c[J", ESC);
2015-04-20, 1314👍, 0💬
Popular Posts:
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to itera...
How is the MVC design pattern used in Struts framework? In the MVS design pattern, there 3 component...
How does ASP.NET maintain state in between subsequent request ? Refer caching chapter.
Can you explain in brief how the ASP.NET authentication process works? ASP.NET does not run by itsel...
What Is C Language? The C programming language is a standardized programming language developed in t...