- Change TERM to xterm-*

- Fix if/endif clause in csh