Re: How to execute a script inside of screen?

2008-02-14 Thread Stefan Mischke
Yes, that is exactly what I was looking for. Thank you! Joe Zbiciak schrieb: Instead of "myscript.sh", perhaps "bash --rcfile myscript.sh"? You might need to add "source ~/.bashrc" to the start of your script to get the environment you expect, or wrap it as someone else suggested.

Re: How to execute a script inside of screen?

2008-02-14 Thread Stefan Mischke
Phil Snowberger schrieb: On Thu, Feb 14, 2008 at 04:42:07AM -0500, [EMAIL PROTECTED] wrote: How can I execute a shell script inside of screen and keep the shell open? If I do something like screen -dmS myscreen ./myscript.sh the screen session is terminated after "myscript.sh" f

Re: How to execute a script inside of screen?

2008-02-14 Thread Phil Snowberger
On Thu, Feb 14, 2008 at 04:42:07AM -0500, [EMAIL PROTECTED] wrote: > How can I execute a shell script inside of screen and keep the shell > open? If I do something like > > screen -dmS myscreen ./myscript.sh > > the screen session is terminated after "myscript.sh" finishes. Using > the "zombie" o

How to execute a script inside of screen?

2008-02-14 Thread survivor2k7
Greetings! How can I execute a shell script inside of screen and keep the shell open? If I do something like screen -dmS myscreen ./myscript.sh the screen session is terminated after "myscript.sh" finishes. Using the "zombie" option in screenrc, I can at least see the output after

Re: for the people whose screen does not crash

2008-02-14 Thread Trent W. Buck
On Thu, Feb 14, 2008 at 07:39:14AM +, Stephane Chazelas wrote: > On Wed, Feb 13, 2008 at 06:21:46PM -0500, Mag Gam wrote: >> I am slowly being convinced that my screen crashes (or freezes mainly) are >> due to my environment settings. This can include env or stty settings. >> >> For the people

Re: hangs

2008-02-14 Thread Mag Gam
Thanks lets try to keep an eye on this. I would like to get to the bottom of some of these hangs. The least we can do is provide them with a stract or better a forced core file of screen. They maybe able to 'bt' the results ... On Thu, Feb 14, 2008 at 2:14 AM, Torsten Scheck <[EMAIL PROTECTED]>

Re: hangs

2008-02-14 Thread Torsten Scheck
Hello Mag, hello Michael: Mag Gam wrote on 02/14/2008 12:19 AM: [...] > Sometimes when I accedently press a wrong keystroke it freezes on me. I am [...] This might be unrelated to the described phenomenon. Did you accidentally press "Ctrl+s"? Then you can unlock the terminal with "Ctrl-q". As fo