C program to help EGSE software initialize xterm