some work on the vt100 code