Terminal IO
Got most of the terminal cleaned up for ‘xterm’ support. Took a while to understand how the internals or MSB worked so I could change the terminal definitions however finally got it. Had to make some minor changes to the MU17 program since it had no delay for between keys in an escape sequence which meant on a fast CPU/Linux it would not get the full escape sequence.
Going to need to review the colour code numbers used by MSB. ProvideX uses the ANSI colour sequence where Red and Blue are reversed (1=Red in ProvideX, 4=Red in MSB). What we might to is leave the ‘Cn’ mnemonics for MSB programs and have ‘Fn’ for ProvideX map its colour sequences. This is workable but raises the question of how to handle the ‘C0′ and ‘C1′ cursor mnemonics for ProvideX compatibility. Might be easier to simply switch to the ProvideX sequence since most MSB clients will have already switched, just means the utilities need to be altered.
