
woods at weird
Oct 22, 2009, 6:05 PM
Post #2 of 2
(93 views)
Permalink
|
At Thu, 22 Oct 2009 13:43:48 -0400 (EDT), Jeremy Eder <jeder[at]redhat.com> wrote: Subject: passing ctrl+z key combination > > im looking to pass ctrl+z to a server - console man page says > > 1) escape sequence (mine is default 'control-E c'') > 2) then type \ooo where ooo is a 3-digit octal code for the keystroke. > > according to http://en.wikipedia.org/wiki/Control-Z the octal code for ctrl+z should be 32. > > so after typing the escape sequence, typing > > \032 > > does not seem to send a ctrl+z. > > any ideas ? Why not just type <CTRL-Z> plain and simple? It works for me: $ console historically [Enter `^Ec?' for help] [-- MOTD -- Welcome to Weird consoles!] # # cat ^Z[1] + Stopped cat Of course typing "<CTRL-E>\032" also works for me: # cat [quote \032]^Z[1] + Stopped cat -- Greg A. Woods +1 416 218-0098 VE3TCP RoboHack <woods[at]robohack.ca> Planix, Inc. <woods[at]planix.com> Secrets of the Weird <woods[at]weird.com>
|