Add tcsh support

Ref #762