@mmu_man @jpmens "You need a Linux distribution as tmate utilizes linux specific features."

@dvl @jpmens yes, the APT URI scheme refers to the Debian packages :p

And yes, it probably uses Linux-specific calls that bypass the normal tty interface which is not meant to do this.

@Keltounet @dvl @jpmens there already were other tools doing the same, but IIRC they required a specific driver to snoop on tty. But maybe there's a similar scheme on BSD?

@mmu_man @dvl @jpmens why bother to make macOS or BSD versions if half of it is Linux-specific?

@Keltounet @dvl @jpmens oh wait, no, I mixed up with ttysnoop-like feature, which allows to spy on already used tty from another one. tmate is just a tmux fork. :D

@Keltounet @dvl @jpmens indeed, and as I said this feature is OS-specific as not part of POSIX.

@mmu_man @dvl @jpmens AFACT, it should be easily portable to non-Linux systems; it's a fork of tmux and as such, already has support in the source tree for several BSD systems and cygwin.

It assumes root; I patched my copy temporarily to eliminate that requirement for testing. But just from my five minutes of reading its source, I'd stick it in an isolated container, root or not.

Still, pretty awesome concept.

@mmu_man @dvl @jpmens Yeah, it looks like (though I cannot confirm tonight, need to actually compare tmux upstream with this repo to see the differences to be sure) that the only real dependency on Linux is for the namespaced jail; the implementers just didn't able or willing to port that logic for other OSes even though the build system and upstream tmux clearly supports them.

@mmu_man @jpmens I think the phrase they are looking for is Unix-like

Inscrivez-vous pour prendre part à la conversation
Mastodon G3L

Instance de l'association G3L basée à Valence, Drôme, France