Re: [dev] [st] Understading st behaviour

From: Amadeus Folego <amadeusfolego_AT_gmail.com>
Date: Wed, 16 Apr 2014 05:19:01 -0300

It works! As I am using tmux just for the scrollback and paste
capabilities I am not worried with losing sessions.

Maybe I'll write a suckless multiplexer for this sometime.

On Wed, Apr 16, 2014 at 06:36:15AM +0200, Christoph Lohmann wrote:
> Greetings.
>
> On Wed, 16 Apr 2014 06:36:15 +0200 Amadeus Folego <amadeusfolego_AT_gmail.com> wrote:
> > Hi Guys, thank you for your feedback and taking your time to
> > help me!
> >
> > I identified the issue.
> >
> > It looks like I am spawning st with tmux (e.g. st -e tmux), and the issue is
> > that tmux is reparenting the process id to tmux's daemon. Example:
> >
> > tmux
> > |
> > \_newsbeuter
> > |
> > \_vim st.c
> >
> > It is not an issue with xmonad after all, and I can confirm that the
> > issue happens on urxvt as well (e.g. urxvt -e tmux).
> >
> > I did not find any tmux option to disable this reparenting behaviour, so
> > I guess I'll have to find another way to scroll the screen with st. :(
>
> Add
>
> set -g destroy-unattached on
>
> to your ~/.tmux.conf. Of course this will destroy every session you open
> and needs to be explictly disabled.
>
>
> Sincerely,
>
> Christoph Lohmann
>
>
Received on Wed Apr 16 2014 - 10:19:01 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 10:24:06 CEST