Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: conserver: users

passing ctrl+z key combination

 

 

conserver users RSS feed   Index | Next | Previous | View Threaded


jeder at redhat

Oct 22, 2009, 10:43 AM

Post #1 of 2 (104 views)
Permalink
passing ctrl+z key combination

hi,

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 ?



--jer
_______________________________________________
users mailing list
users[at]conserver.com
https://www.conserver.com/mailman/listinfo/users


woods at weird

Oct 22, 2009, 6:05 PM

Post #2 of 2 (93 views)
Permalink
Re: passing ctrl+z key combination [In reply to]

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>

conserver users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.