Afficher un message
Vieux 19/05/2007, 22h41   #3
disco
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sending special characters to a shell script

Bill Marcum wrote:
> On Fri, 18 May 2007 21:42:39 GMT, disco
> <disco@anywherebuthere.com> wrote:
>>
>> How would I go about doing this?
>>
>> Basically I have a script that will hopefully:
>>
>> 1. Re-attach a screen, using screen -x <screen name>
>> 2. Send some commands to the program running in the screen
>> 3. De-attach, using "CTRL + A" and then "D"
>>
>> The first two steps are fine, but I'm stuck on sending CTRL+A to the shell.
>>

> Use "screen -d".
>


I can't. The application running in the screen is a server that always
has an open command line, if you see what I mean. Typing screen -d will
do nothing, because the program I am running in that window does not
recognise the command.

Thanks, disco.
  Réponse avec citation
 
Page generated in 0,04397 seconds with 9 queries