-- [ Picked text/plain from multipart/alternative ] I think that the command would be
$ screen -A -m -d -S screen_name ./hlds_run -game cstrike +maxplayers 16 +map de_inferno +port 27016 (replace the server command by whatever you want) To attach the terminal to the current tty: $ screen -r screen_name And to deattach it, press control-a followed by control-d Simon On 12/18/06, Matjaz Debelak <[EMAIL PROTECTED]> wrote: > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Andrew Forsberg wrote: > > On Sun, 2006-12-17 at 15:02 +0000, Dave "M3PH" Williams wrote: > > > >> as you guys are probably aware i'm new to this whole running linux > >> servers thing. I've been doing some reading on screen as i know some of > >> you guys use it. But there is one concept i don't understand. how do i > >> get screen to capture the running tty session in a bash script? > >> > You do not capture a running session, you start a virtual terminal, that > you can deattach and reattach at will. > if you want to start from deattached from a bash script try "man screen" > as there is a switch to do just that but I cant remember it right now. > > LP Killer_X > >> > > I think everyone is too busy screaming at valve at the moment to help > > you. :-) > > > > Anyway -- while I don't personally bother with screen, you shouldn't > > really need to capture the TTY session. Your hlds or srcds logs will > > contain all the info you need in the appropriate logs/ directory. > > > > Cheers > > Anders > > > > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > -- Markys -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux