▲ 23 ▼ tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen (github.com) submitted 1 month ago by librebyte@lemmy.ml to c/librebyte@lemmy.ml 17 comments fedilink hide all child comments
[–] rbos@lemmy.ca 1 point 1 month ago (4 children) I've never tried scrolling with mouse but it does work with arrow keys and pgupdn. Yes to send-keys. permalink fedilink source parent hideshow 4 child comments replies: [–] historicaldocuments@lemmy.world 2 points 1 month ago (3 children) Scrolling with a mouse works, just not exactly the way I thought it would when I started using it. I started out with a shell script using send-keys, and eventually decided the python tmux library was a nice improvement. permalink fedilink source parent hideshow 3 child comments replies: [–] rbos@lemmy.ca 1 point 1 month ago (2 children) Nice. I wrap send-keys with a little perl script, I should look into that Python lib. permalink fedilink source parent hideshow 2 child comments replies: [–] historicaldocuments@lemmy.world 2 points 1 month ago (1 child) It's not bad at all. It gets monumentally easier if you've named all your sessions and windows because it's just a .get() to look them up. Panes still have that thing where the panes can get renumbered inside a window, but still have the same internal immutable identifier underneath the hood, but you wind up with pane.send_keys(my_string, enter=True) which is well worth the learning curve IMO. permalink fedilink source parent hideshow 1 child comment replies: [–] rbos@lemmy.ca 2 points 1 month ago Totally. And you can start a new panel from a script with a specific name as well. I use it for managing minecraft servers. permalink fedilink source parent
[–] historicaldocuments@lemmy.world 2 points 1 month ago (3 children) Scrolling with a mouse works, just not exactly the way I thought it would when I started using it. I started out with a shell script using send-keys, and eventually decided the python tmux library was a nice improvement. permalink fedilink source parent hideshow 3 child comments replies: [–] rbos@lemmy.ca 1 point 1 month ago (2 children) Nice. I wrap send-keys with a little perl script, I should look into that Python lib. permalink fedilink source parent hideshow 2 child comments replies: [–] historicaldocuments@lemmy.world 2 points 1 month ago (1 child) It's not bad at all. It gets monumentally easier if you've named all your sessions and windows because it's just a .get() to look them up. Panes still have that thing where the panes can get renumbered inside a window, but still have the same internal immutable identifier underneath the hood, but you wind up with pane.send_keys(my_string, enter=True) which is well worth the learning curve IMO. permalink fedilink source parent hideshow 1 child comment replies: [–] rbos@lemmy.ca 2 points 1 month ago Totally. And you can start a new panel from a script with a specific name as well. I use it for managing minecraft servers. permalink fedilink source parent
[–] rbos@lemmy.ca 1 point 1 month ago (2 children) Nice. I wrap send-keys with a little perl script, I should look into that Python lib. permalink fedilink source parent hideshow 2 child comments replies: [–] historicaldocuments@lemmy.world 2 points 1 month ago (1 child) It's not bad at all. It gets monumentally easier if you've named all your sessions and windows because it's just a .get() to look them up. Panes still have that thing where the panes can get renumbered inside a window, but still have the same internal immutable identifier underneath the hood, but you wind up with pane.send_keys(my_string, enter=True) which is well worth the learning curve IMO. permalink fedilink source parent hideshow 1 child comment replies: [–] rbos@lemmy.ca 2 points 1 month ago Totally. And you can start a new panel from a script with a specific name as well. I use it for managing minecraft servers. permalink fedilink source parent
[–] historicaldocuments@lemmy.world 2 points 1 month ago (1 child) It's not bad at all. It gets monumentally easier if you've named all your sessions and windows because it's just a .get() to look them up. Panes still have that thing where the panes can get renumbered inside a window, but still have the same internal immutable identifier underneath the hood, but you wind up with pane.send_keys(my_string, enter=True) which is well worth the learning curve IMO. permalink fedilink source parent hideshow 1 child comment replies: [–] rbos@lemmy.ca 2 points 1 month ago Totally. And you can start a new panel from a script with a specific name as well. I use it for managing minecraft servers. permalink fedilink source parent
[–] rbos@lemmy.ca 2 points 1 month ago Totally. And you can start a new panel from a script with a specific name as well. I use it for managing minecraft servers. permalink fedilink source parent