Re: screen inside of screen
Charles Fry <[email protected]>
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <[email protected]> |
This does not answer your question directly (I leave that to the other
thread), but I wonder if the behavior you expect would be
(mostly/somewhat) accomplished by setting screen to be your default
shell on all your machines. I have found this to be most pleasant on
machines that I only access remotely.
Charles
> 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:
--
His cheek
Was rough
His chick vamoosed
And now she won't
Come home to roost
Burma-Shave
http://frogcircus.org/burmashave/1950/his_cheek
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/