I need to be able to launch a program in the background, make it persist after the “parent” terminal closes and be able to access its stdin/stdout from another terminal. I don’t care about multiplexing.

I’ve been using tmux for this but I don’t like how it hijacks my mouse and that i’m not able to use my terminal’s search feature and have to use what tmux tui provides instead. In other words, programs launched directly in the terminal feel more comfortable to work with than when they are launched inside tmux.

I feel the ideal program should behave much simpler. Like e.g. on attach it should clear the screen, print the stdout buffer it accumulated and give me stdin prompt, that’s it.

  • SlicedPotato@feddit.dk
    link
    fedilink
    arrow-up
    18
    ·
    5 hours ago

    Have you tried screen? AFAIK it’s similar to tmux, but tmux has more bells and whistles, which it sounds like you want to avoid. I use it sometimes to start long running rsync sessions on a server and then periodically SSH in and check it. It does break scrolling though, but I don’t know if there’s some option to make it behave more like a normal terminal.