Live data from Hacker News

Show HN: Cockpit – create tmux panes and windows with ease

cockpit.27ae60.com

21–30 of 49 posts

Re: Show HN: Cockpit – create tmux panes and windows with ease

#22
post #2

It's quite an indictment of the current state of our tooling (not just tmux) that such an application as this is necessary. Why isn't it easy to configure this in tmux itself, and persist the resulting configuration?

I wonder if there is some sort of inverse relationship between having comprehensive features, thereby being self-contained (think Smalltalk), versus having a continuous dialog with the imperfect outside environment (think perl). I'm sure this is implicit in the famous "Worse is Better" essay, if not explicit.

I mean: the author of tmux could have bundled the package with a comprehensive environment. But what really is there, beyond Unix and the browser? If it exists, people haven't heard if it, and even if they had, would just as soon reinvent it. At any rate, the inevitable imperfections and inpedance-mismatch with users' existing workflow / UI would surely invite brutal criticism. (For example, when Plan 9 came up here a few years back, a big chunk of the discussion was about how ugly the GUI seemed to them!)

Re: Show HN: Cockpit – create tmux panes and windows with ease

#23
This looks really nice!

It's not for me, though. Maybe I'm not a very good systems engineer, but I've got a decent .tmux.conf. Between writing automation and trying to make sense of the mess I've inherited, I'm constantly splitting, resizing, and re-adjusting my work space to suit the task at hand.

Re: Show HN: Cockpit – create tmux panes and windows with ease

#24
post #23

This looks really nice! It's not for me, though. Maybe I'm not a very good systems engineer, but I've got a decent .tmux.conf. Between writing automation and trying to make sense of the mess I've inherited, I'm constantly splitting, resizing, and re-adjusting my work space to suit the task at hand.

+1 The mnemonics that come with tmux are short and intuitive enough such that everything ive needed is just a ctrl+b away. Curious what the use case is for this

Re: Show HN: Cockpit – create tmux panes and windows with ease

#25
post #23

This looks really nice! It's not for me, though. Maybe I'm not a very good systems engineer, but I've got a decent .tmux.conf. Between writing automation and trying to make sense of the mess I've inherited, I'm constantly splitting, resizing, and re-adjusting my work space to suit the task at hand.

what are the pros and cons to using tmux as opposed to say multiple instances of a terminal emulator split up using ratpoison?

Re: Show HN: Cockpit – create tmux panes and windows with ease

#27
post #25
post #23

This looks really nice! It's not for me, though. Maybe I'm not a very good systems engineer, but I've got a decent .tmux.conf. Between writing automation and trying to make sense of the mess I've inherited, I'm constantly splitting, resizing, and re-adjusting my work space to suit the task at hand.

what are the pros and cons to using tmux as opposed to say multiple instances of a terminal emulator split up using ratpoison?

pro: use anywhere, including while ssh'd, and share sessions with others. con: not that easy to use -- kind of like vim or emacs.

I personally use tmux because it's "one window" and it is supported on every environment I can think of.

Re: Show HN: Cockpit – create tmux panes and windows with ease

#28
I was using tmuxinator for this, but found that all of my sessions were essentially the same thing except for the name and the working directory.

So I just wrote a shell script that takes a directory, using basename for the session name, starting up what ever windows and panes it needs to. I have two variants, one for generic dev stuff (shell and an editor) and the other is for rails work (shell, editor, logs, rails db and a rails c in the last window).

https://github.com/vhodges/dotfiles/blob/master/utils/bin/tm... or https://github.com/vhodges/dotfiles/blob/master/utils/bin/tm...

Re: Show HN: Cockpit – create tmux panes and windows with ease

#29
post #25

Earlier quoted context omitted.

what are the pros and cons to using tmux as opposed to say multiple instances of a terminal emulator split up using ratpoison?

pro: use anywhere, including while ssh'd, and share sessions with others. con: not that easy to use -- kind of like vim or emacs. I personally use tmux because it's "one window" and it is supported on every environment I can think of.

Big con for me: scrolling sucks. Even o latest 2.x, which is indeed better, but still light years away from native.

Re: Show HN: Cockpit – create tmux panes and windows with ease

#30

Earlier quoted context omitted.

pro: use anywhere, including while ssh'd, and share sessions with others. con: not that easy to use -- kind of like vim or emacs. I personally use tmux because it's "one window" and it is supported on every environment I can think of.

Big con for me: scrolling sucks. Even o latest 2.x, which is indeed better, but still light years away from native.

When you say scrolling, do you mean with something other than a keyboard?

I thought this is something I wanted, but when I finally got around to getting mouse inputs working the way I thought they should, I realized that mousing around a terminal is kind of weird. Granted, I still use my mouse for copy/pasta operations, but I hope to eventually break that habit in time.

What's your workflow with tmux like?

Post reply on HN