Live data from Hacker News

Lend wings to Rails development with Hermes (A shell development framework)

blog.new-bamboo.co.uk

1–10 of 14 posts

Re: Lend wings to Rails development with Hermes (A shell development framework)

#2
Honest question - why would you use Tmux for local sessions?

I always thought the advantage of programs like Screen and TMux were that you could persist remote sessions over bad connections, or from different terminals (e.g., going home from the office and keeping the session alive).

For purely local sessions, I don't see an advantage over iterm + vim. That also seems to be the conclusion on StackOverflow [0]:

    [0] http://stackoverflow.com/questions/10015575/tmux-vs-iterm2-split-panes
[edit] - thanks for the feedback guys, I'll give it a try

Re: Lend wings to Rails development with Hermes (A shell development framework)

#4
post #2

Honest question - why would you use Tmux for local sessions? I always thought the advantage of programs like Screen and TMux were that you could persist remote sessions over bad connections, or from different terminals (e.g., going home from the office and keeping the session alive). For purely local sessions, I don't see an advantage over iterm + vim. That also seems to be the conclusion on StackOverflow [0]: [0] ht…

Hi,

Claudio (one of the developers) here.

The motivation is that you can interact with the content of the panes both with shortcuts and programmatically, as an example I can link you this video:

http://www.youtube.com/watch?feature=player_embedded&v=J...

The other advantage is that if for any reason iTerm crashes or is closed by mistake, you can resume your session.

Re: Lend wings to Rails development with Hermes (A shell development framework)

#5
post #2

Honest question - why would you use Tmux for local sessions? I always thought the advantage of programs like Screen and TMux were that you could persist remote sessions over bad connections, or from different terminals (e.g., going home from the office and keeping the session alive). For purely local sessions, I don't see an advantage over iterm + vim. That also seems to be the conclusion on StackOverflow [0]: [0] ht…

I use tmux with tmuxinator [0] to set up my dev environment every time I start work on a project. I have my panes configured (editor, shell, tests, db, logs, scm etc) and a 'pre' hook that mounts my VM. It works beautifully, is quick and easy to set up and is pretty flexible.

    [0] https://github.com/aziz/tmuxinator

Re: Lend wings to Rails development with Hermes (A shell development framework)

#7
post #2

Honest question - why would you use Tmux for local sessions? I always thought the advantage of programs like Screen and TMux were that you could persist remote sessions over bad connections, or from different terminals (e.g., going home from the office and keeping the session alive). For purely local sessions, I don't see an advantage over iterm + vim. That also seems to be the conclusion on StackOverflow [0]: [0] ht…

Hi, Claudio (one of the developers) here. The motivation is that you can interact with the content of the panes both with shortcuts and programmatically, as an example I can link you this video: http://www.youtube.com/watch?feature=player_embedded&v=J... The other advantage is that if for any reason iTerm crashes or is closed by mistake, you can resume your session.

ie: for all those times I press ctrl-q accidently instead of ctrl-1

Re: Lend wings to Rails development with Hermes (A shell development framework)

#8

Earlier quoted context omitted.

Hi, Claudio (one of the developers) here. The motivation is that you can interact with the content of the panes both with shortcuts and programmatically, as an example I can link you this video: http://www.youtube.com/watch?feature=player_embedded&v=J... The other advantage is that if for any reason iTerm crashes or is closed by mistake, you can resume your session.

ie: for all those times I press ctrl-q accidently instead of ctrl-1

I'm with you there.

Re: Lend wings to Rails development with Hermes (A shell development framework)

#9
post #5
post #2

Honest question - why would you use Tmux for local sessions? I always thought the advantage of programs like Screen and TMux were that you could persist remote sessions over bad connections, or from different terminals (e.g., going home from the office and keeping the session alive). For purely local sessions, I don't see an advantage over iterm + vim. That also seems to be the conclusion on StackOverflow [0]: [0] ht…

I use tmux with tmuxinator [0] to set up my dev environment every time I start work on a project. I have my panes configured (editor, shell, tests, db, logs, scm etc) and a 'pre' hook that mounts my VM. It works beautifully, is quick and easy to set up and is pretty flexible. [0] https://github.com/aziz/tmuxinator

There is also Consular (https://github.com/achiu/consular) for those who need similar functionality in plain Terminal/iTerm/Gnome Terminal.

It lets you create multiple terminal environments and each of them can define multiple tabs with startup commands. It uses a simple Ruby DSL for the scripting. The tabs can also be assigned meaningful names through the DSL.

Re: Lend wings to Rails development with Hermes (A shell development framework)

#10
post #2

Honest question - why would you use Tmux for local sessions? I always thought the advantage of programs like Screen and TMux were that you could persist remote sessions over bad connections, or from different terminals (e.g., going home from the office and keeping the session alive). For purely local sessions, I don't see an advantage over iterm + vim. That also seems to be the conclusion on StackOverflow [0]: [0] ht…

In addition to being in agreement with several of the other reasons mentioned here, I do most of my development on a netbook, and I find it easier to just have a single maximized terminal on a desktop, and use Tmux to manage my 'windows.'

[ Also more of a Linux thing, but is perfectly possible for X11 to crash without the whole machine going down, and my session remains unharmed. ]

Post reply on HN