5

Terminal codes (ANSI/VT100) introduction

view full story
linux-howto

http://wiki.bash-hackers.org – Terminal (control-)codes are needed to give specific commands to your terminal. This can be related to switching colors or positioning the cursor, simply everything that can't be done by the application itself. How it technically works A terminal control code is a special sequence of characters that is printed (like any other text). If the terminal understands the code, it won't display the character-sequence, but will perform some action. You can always print the codes with a simple echo comm… (HowTos)