Or automatically launch screen from within your .profile. https://stackoverflow.com/a/20515245
I also alias exit so that I remember to detach instead of exit:
[ ${STY} ] && alias exit="echo You are in a screen: ${STY}."
And I can use \exit if I really want to exit.
Regards,
- Robert
On Mon, Nov 14, 2022 at 7:53 AM Randy Bush <[email protected]> wrote:
> fwiw, i am a `screen` addict. i do a lot of builds on distant systems
> over ssh, and try to always remember to start screen.
>
> randy
>
