[AESH-94]
added as many ansi codes from infocmp as possible.
- arrow keys did not work, so they are still hard coded.