Hacker News new | ask | show | jobs
by fambalamboni 489 days ago
I use screen all the time in an SSH session. Locally, not so much.

Although if I'm running something that I know will take hours, I tend to run that in Screen because I'm likely to nuke the terminal by accident.

1 comments

"Nuking the terminal by accident" is a serious thing for me; I do it all the time, though usually it is not a big deal. I have way too many terminal windows open because I do all sorts of chaotic nonsense and my "open terminal" shortcut is too convenient.

What I really need, however, is a simple shortcut that yanks the terminal window from wherever it is, puts it in the current workspace and focuses on it. I keep postponing making it, it should be simple with xorg tools (can you do that in Wayland?).

I use Guake for this. I have it configured to fire up Tmux and then I have it bound to Ctrl Alt T, and it drops down a terminal anywhere I am: any desktop, any screen. I didn't read the entire article (I don't think it's particularly well-written or stems from any particular expertise in the domain), but I doubt the author addresses the huge advantage I see with terminal multiplexers, which is it allows me to cut and paste from the terminal without using a mouse, and allows me to log scroll back and capture sessions effectively in any terminal emulator I use, not just a fancy one like iTerm2.
This sounds like a great use case for tmux. Have one (1) terminal open, and as many panes/tabs/whatever as you need.