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, 1395👍, 0💬
Popular Posts:
What is the version information in XML? “version” tag shows which version of XML is used.
What is the sequence of UML diagrams in project? First let me say some fact about this question, you...
How To Create an Array in PL/SQL? - Oracle DBA FAQ - Introduction to PL/SQL If you want create an ar...
Can include files be nested? The answer is yes. Include files can be nested any number of times. As ...
Where Is the Submitted Form Data Stored? - PHP Script Tips - Processing Web Forms When a user submit...