Finsh ex

handle the VT100 code control sequence. Tested in simulator, putty, screen.