On Mon, Aug 02, 2010 at 11:07:04PM -0000, Dustin Kirkland wrote:
>Okay, do this ...
>
>Press <F9> and go to the menu. Toggle off, and then back on the "launch
>by default" option. It should be the last in the menu. This will re-
>write the last line of your ~/.profile with the latest incantation.
>
>Look in your ~/.profile. Do you see a line that looks like this?
> case "$-" in *i*) byobu-launcher && exit 0; esac;
Yeah.
>Edit ~/.profile and change that line to say:
> case "$-" in *i*) byobu-launcher; esac;
>
>ie, drop the "&& exit 0" part.
>
>Now try your use case again. Does it now do what you want?
This doesn't seem to change the behaviour. Detaching or killing the
screen session with c-d still gives me
,----
| [detached from 6780.byobu]
| Connection to home.orangesquash.org.uk closed.
`----
btw, another way to fix my use case would be an option to have byobu
detach other attached sessions when I connect from somewhere else.
Heya Dustin,
Thanks a lot for your reply.
On Mon, Aug 02, 2010 at 11:07:04PM -0000, Dustin Kirkland wrote:
>Okay, do this ...
>
>Press <F9> and go to the menu. Toggle off, and then back on the "launch
>by default" option. It should be the last in the menu. This will re-
>write the last line of your ~/.profile with the latest incantation.
>
>Look in your ~/.profile. Do you see a line that looks like this?
> case "$-" in *i*) byobu-launcher && exit 0; esac;
Yeah.
>Edit ~/.profile and change that line to say:
> case "$-" in *i*) byobu-launcher; esac;
>
>ie, drop the "&& exit 0" part.
>
>Now try your use case again. Does it now do what you want?
This doesn't seem to change the behaviour. Detaching or killing the
screen session with c-d still gives me
,---- sh.org. uk closed.
| [detached from 6780.byobu]
| Connection to home.orangesqua
`----
btw, another way to fix my use case would be an option to have byobu
detach other attached sessions when I connect from somewhere else.
Cheers,
Iain