|
From: | Buddy Burden |
Subject: | Re: how to send the <esc> keystroke to a window? |
Date: | Thu, 26 Jan 2006 23:32:23 -0500 |
User-agent: | Mozilla Thunderbird 1.0.7 (X11/20051219) |
Phil!/sven,
now how can i send the escape key just as if <esc> was pressed in that window?
I assume you're running this from the shell or a shell script. If so, you can use backticks: screen -S program -X stuff `echo -ne '\e'`
You can also use \0xx notation in stuff. This works: screen -S program -X stuff "\033" -- Buddy
[Prev in Thread] | Current Thread | [Next in Thread] |