Re: [dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing terminal

From: hiro <23hiro_AT_gmail.com>
Date: Mon, 27 Mar 2017 21:04:26 +0200

i don't want to attach to the same session over and over again at the same time.

On 3/27/17, ilf <ilf_AT_zeromail.org> wrote:
> hiro:
>> If I run ssh from that environment it shouldn't just start the
>> configured shell in the server that I login to. It should instead run
>> dtach on the server and the shell inside, so that when I resume my
>> laptop and regain network connectivity that same script that wraps ssh
>> will start a new ssh session and attach to the old dtach'ed shell
>> automatically.
>
> if [ ! $TMUX ] && [[ $(hostname) = "alice" ]]
> then
> tmux attach-session || tmux new-session
> logout
> fi
>
> --
> ilf
>
> Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg!
> -- Eine Initiative des Bundesamtes für Tastaturbenutzung
>
Received on Mon Mar 27 2017 - 21:04:26 CEST

This archive was generated by hypermail 2.3.0 : Mon Mar 27 2017 - 21:12:12 CEST