I have a little problem with screen.
I wanted to launch several servers in a screen session, so I made a little script designed to to have one server per window.
#!/bin/sh
screen -dmS servers
screen -S servers -t http -p 0 sh -c "cd /servers/start/httpo ; run.sh"
screen -S servers -t sql -p 1 sh -c "cd /servers/start/sql ; run.sh"
...
But it's not working right - the sessions are created, but all the commands start on the first window.
I read the man page, but I still can't find what I did wrong.