Xterm

Major revisions