added io procedures for esc64 + test program for output routiens