Re: screen inside of screen
Jason White <[email protected]>
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 09, 2004 at 10:19AM -0700, Shane Hickey wrote: >Jason White <[email protected]> [2004-03-09 10:47]: >> You can send a literal ctrl-a by typing "ctrl-a a". > >Yes, I understand that, but that doesn't do what I'm trying to >accomplish, unless I'm bungling it. Let's say I start an Xterm session >on machine1. My .bashrc on machine1 starts screen. Then I ssh to >machine2. My .bashrc on machine2 also starts screen. If I want to >detach my screen from machine2 (so that it shows up as a detached screen >whenever I ssh back into it), "ctrl-a a d" doesn't do this. Can I assume that ctrl-a is your screen escape sequence on both sessions? >All it does is print "d". Sounds like you're using a different escape sequence on machine2. I just duplicated what I believe to be the same scenarion. Started screen in an xterm on "local" machine. ssh'd into another machine, started screen. Both of my screen sessions are using the escape sequence of ctrl-a. If I do "ctrl-a c" I get another shell on the "local" machine. If I do "ctrl-a a c" then I get another shell on the remote machine. Now, I can detach the remote session with "ctrl-a a d". Or, on a remote session shell I can type "screen -X detech", which might work better for you. >I know that I can just detach the screen on machine1, but I'm detaching >the local session. So, if I reboot machine1, I lose this session and >if I ssh into machine2 from another session, this screen doesn't show >up. I believe I understand what you're trying to do. I routintly run screen inside screen in order to retain my screen splits across detach/reattach. >This gives me "There is no screen to be detached." However, if I wasn't >already running screen on machine1, then I think this would work as you >are describing. I take full responsibility for any confusion, I'm sure >I'm not describing this correctly. Well, I think I came into this thread a bit late and might have missed what you are trying to do initially, but I think I understand now if what I've said above about your situation and me trying to duplicate is correct. Keep on trying. I'm confident we can solve your problem. -Jason -- Jason White ([email protected]) http://www.jdwhite.org/~jdwhite Jabber:[email protected] <=preferred IRC:irc.netbsd.org/{jdwhite,jdw} AIM:jdwhite90125 Yahoo:jdwhite89 GPG KeyID: 0x74CF850D/1F57 465A 1357 BA39 2BEF 5629 6E1C 2B20 74CF 850D Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gnu-screen/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/