* 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 <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'`

-- 
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
I parry the demon's two-handed sword with my stiletto.
                       -- Famous Last Words, #731
---- --- --


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to