rough serial terminal coded