code for control+...?

Jorge Almeida jalmeida
Mon May 17 11:55:44 PDT 2004


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


More information about the Linux-users mailing list