23:35 laz> man, this is definitely FAQ material 23:35 SirFunk> :-P 23:35 laz> what you want to do is be able to still login when screen is hosed for one reason or another 23:36 SirFunk> right 23:36 laz> and you only wwant to exec screen from an interactive shell 23:36 SirFunk> ok 23:37 laz> for the interactive shell thing, you can check for PS1 being set 23:37 laz> for safety, you can check that an env var is empty 23:38 laz> if [ -z "$STY" -a -n "$PS1" -a -z "$BASHME" ]; then 23:38 laz> exec screen -A -x -RR 23:38 laz> fi 23:38 laz> something like that should work (I rewrite that if statement every time somebody asks this q in the channel ;) 23:38 SirFunk> hehe :) 23:42 SirFunk> hey 23:42 laz> it lets you set BASHME=1 to get bash always 23:42 laz> so you'd ssh -t host "BASHME=1 /bin/bash" 23:42 laz> and it wouldn't try to launch screen 23:42 laz> those screen options will give you a single screen session that is multi-attached 23:43 laz> dunno if that's your intent or not, you could tweak em 23:43 SirFunk> what is multiattached? 23:43 laz> if you login twice, you are connected to teh same screen session 23:44 SirFunk> cool! 23:44 SirFunk> :) 23:44 SirFunk> i wanted that 23:44 laz> so you can open the same screen window in 2 xterms at the same time 23:44 SirFunk> haha 23:44 SirFunk> that's cool 23:44 SirFunk> and if i type in one it shows in the other :) 23:44 laz> yah 23:44 SirFunk> that is OH soo cool 23:44 SirFunk> i can do stuff in console, then cut and paste into X 23:44 SirFunk> thanks, this rules :)