|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. If anybody could , that'd be great. Thanks, disco. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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". -- BOFH excuse #367: Webmasters kidnapped by evil cult. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
disco wrote:
> 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. |
|
![]() |
| Outils de la discussion | |
|
|