screen inside of screen

Shane Hickey <[email protected]>
Newsgroups gmane.comp.gnu.screen
Organization Nerd Diarry
Message-ID <[email protected]>
Howdy all,
	I was unable to find a solution to my problem in other forums, so
yesterday I jumped through the flaming hoops to join this list.  Then, I
got educated in the finer points of netiquette from Sven.  After which,
I was nearly too frightened to post here.  So, I opened the liquor
cabinet and had some liquid courage.

Anyway, here's my deal. I am starting from my.bashrc like so:

if [ "$TERM" = "screen" -a ! "$SHOWED_SCREEN_MESSAGE" = "true" ]; then
  detached_screens=`screen -list | grep Detached`
  if [ ! -z "$detached_screens" ]; then
    echo "+---------------------------------------+"
    echo "| Detached screens are available:       |"
    echo "$detached_screens"
    echo "+---------------------------------------+"
  else
    echo "[ screen is activated ]"
  fi
  export SHOWED_SCREEN_MESSAGE="true"
fi

I have it setup this way on all my machines.  My question is, when I ssh
from one machine to another, I'd like to be able to detach the remote
screen process.  However, my ctrl-a commands get grabbed by the local
screen process.  Is there a way around this?  Or, rather, a better way
to do what I'm trying to accomplish?  I suppose I could bind another key
to do what ctrl-a does, I just wonder if there is another solution.

If it matters, here are my machine specs:

Linux daneel 2.6.4-rc1-mm2 #1 SMP Wed Mar 3 17:04:14 MST 2004 i686
Pentium III (Coppermine) GenuineIntel GNU/Linux Screen version 4.00.01
(FAU) 18-Sep-03 Gentoo Base System version 1.4.3.13

-- 
Shane Hickey <[email protected]>: Nerd
http://www.nerddiary.org 
GPG KeyID: 777CBF3F
Listening to: Theme of The DOLPHIC TOWN (GAMECUBE: "SUPER MARIO SUNSHINE")


 
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.