Re: Run a command on startup on a specific window, don't close window on programm exit

2010-11-14 Thread Chris
Stuff is a screen command and the 2 lines I gave you were meant for your .screenrc file. Stuff is used to stuff the given string in the input buffer of the current window as if you typed it in at the prompt. screen -t NS1# Open a new window stuff "~/test.sh\015" # Call y

Mutt display problem in screen and tmux

2010-11-14 Thread seanh
Anyone know what might be causing this problem? http://seanh.sdf.org/mutt_statusbar_problem.png The three horizontal bars in mutt (the help bar at the top, selected message bar in the middle, and status bar at the bottom) should be solid bars, there should not be gaps in the background colour whe

Re: Run a command on startup on a specific window, don't close window on programm exit

2010-11-14 Thread Thomas Manson
Hey Kazahiro, these options are awesome, I can resurrect the last command and reconnect to my server by hitting the 'r' key ! (but if I choose to hit 'k' it closes the window while I would rather to keep it open to do something else !) Thanks, Thomas. On Sun, Nov 14, 2010 at 23:45, Kazuhiro

Re: Run a command on startup on a specific window, don't close window on programm exit

2010-11-14 Thread Thomas Manson
Hi Chris, I don't understand the "stuff" thing in the command If I let it, I get a command not found, and If I remove it, and just put "/path/to/command\015" I get the same command not found... Thanks for helping ! Thomas. On Sun, Nov 14, 2010 at 18:06, Chris wrote: > Do this: > > scree

Re: Run a command on startup on a specific window, don't close window on programm exit

2010-11-14 Thread Kazuhiro YOSHIKAWA
> But if a connection happend to close, the associated window close as well. > > How can I prevent this behaviour (ie windows remains open and I can see " > connection lost with server...") How about using 'zombie' and 'verbose on' ? In my .screenrc zombie kr verbose on and when ssh session

Re: Run a command on startup on a specific window, don't close window on programm exit

2010-11-14 Thread Chris
Do this: screen -t NS0 stuff "/home/thomas/scripts/connectToServer/ns0\015" Add the "\015" which is the octal code for a Carriage Return. On Fri, Nov 12, 2010 at 6:43 PM, Thomas Manson wrote: > Hi, > > > I'm configuring screen to open several windows, and automatically connect > to some serve

Re: Run a command on startup on a specific window, don't close window on programm exit

2010-11-14 Thread Kevin Van Workum
On Fri, Nov 12, 2010 at 6:43 PM, Thomas Manson wrote: > Hi, > > > I'm configuring screen to open several windows, and automatically connect > to some servers (key authentication). > > I've edited the screen configuration file to this : > > screen -t NS0 1 /home/thomas/scripts/connectToServer/ns0

Run a command on startup on a specific window, don't close window on programm exit

2010-11-14 Thread Thomas Manson
Hi, I'm configuring screen to open several windows, and automatically connect to some servers (key authentication). I've edited the screen configuration file to this : screen -t NS0 1 /home/thomas/scripts/connectToServer/ns0 screen -t NS1 2 /home/thomas/scripts/connectToServer/ns1 screen -t