Re: how to send the keystroke to a window?

2006-01-26 Thread Buddy Burden
Phil!/sven, now how can i send the escape key just as if 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: sc

Re: how to send the keystroke to a window?

2006-01-26 Thread Phil!Gregory
* sven <[EMAIL PROTECTED]> [2006-01-27 01:23 +0100]: > screen -S program -X register k c > screen -S program -X paste k You can also just use: screen -S program -X stuff c > now how can i send the escape key just as if was pressed in that > window? I assume you're running this from the shel

how to send the keystroke to a window?

2006-01-26 Thread sven
hi list, i' want to remote control a program (dvgrab) which runs in interactive mode in a screen (-S program) session. it's controlled by single keystrokes. i'm doing it like that: screen -S program -X register k c screen -S program -X paste k to send a 'c' now how can i send the escape key just