tcsh: restore check of $IN

Commit from YAPC::EU::2014 at Sofia, Bulgaria.