Sorry for the probably stupid question, but it's killing me... I need to write a expect script where the pressing of the control key+ something needs to be detected. The man page has an example set CTRLZ \032 where the code \032 corresponds to Control-Z. Now, how can I know the codes corresponding to other combinations (e.g. Control-space)? TIA, -- Jorge Almeida