-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brad Bendily wrote:
| | so how about a quick how to ? | to start a screen'd session type 'screen' to exit type 'exit' to disconnect press "<ctrl>+a d" to reconnect to a disconnected screen type "screen -r" to connect(and remotly disconnect) a currently attached screen session type "screen -dr" When your running multiple screen's you have to specify the pid or name of the screen in which you want to attach. open a term and name a screen session: type "screen -S name" open another term and name a screen session: type "screen -S other" open another term and type: "screen -r" ~ You should see this message: There are screens on: ~ 21806.name (Attached) ~ 21822.other (Attached) There is no screen to be resumed. type "screen -dr other" to connect to other or "screen -dr name" to connect to name the names and pid's can be shortened as well so "screen -dr nam" or "screen -dr 2180" both would connect you to the 21806.name session, for this reason you cannot reconnect to a named session by name if there is another screen running with a similar name. eg: xterm ; screen -S name xterm ; screen -S name2 xterm; screen -dr name ;# will not connect you to a session because it matches 2 sessions, use the pid instead. you can do split windows as well in screen try "screen -S split" ; "<ctrl>+a S" ; "<ctrl>+a <tab>" ; "<ctrl>+a c" to jump between the splits use "<ctrl>+a <tab>" you can do shared sessions as well: you and a friend can both input and see output from diffrent terms. I think its possible to do this with seperate shell accounts but haven't figured out how so in this example I use the same login. 1. startup a screen "screen -S shared" 2. open another term and do screen -x shared start inputing! "<ctrl>+a *" shows you a list of who is connected to the shared screen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAT5rm6JFKsKsJemQRAl1RAJ9qcfAN09ULyOEamQI5dE/+4KPMRgCfZeSO 2YYYQjQaD1tjXygy0tfkV78= =Mao3 -----END PGP SIGNATURE-----
