YouTube home Comedy Week on YouTube
Upload

Using tmux for productive mouse-free programming

PragProg PragProg·32 videos
551
19,801
Like     Dislike 4

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like PragProg's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike PragProg's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add PragProg's video to your playlist.

Uploaded on Feb 29, 2012

See how Brian Hogan uses tmux to write code faster. For a more in-depth look at tmux, take a look at Brian's new book at pragprog.com/book/bhtmux.

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Top Comments

  • Joshua Warchol

    Wish this was in a higher res. 480 at least.

    · 15

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Joshua Warchol's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Joshua Warchol's comment.
  • Joseph Bane

    How is this different than GNU Screen?

    · 12

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Joseph Bane's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Joseph Bane's comment.

All Comments (55)

Sign in now to post a comment!
  • agu monkey

    vertical split by default (maybe it's not the case anymore, but screen requires a patch for that), a different data model underneath enabling sharing your session (you can let someone collaborate with you), a simple command model that enable easy scripting.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate agu monkey's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate agu monkey's comment.
    in reply to Joseph Bane (Show the comment)
  • Baptiste Mille-Mathias

    If I recall correctly, Ctrl+B arrow.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Baptiste Mille-Mathias's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Baptiste Mille-Mathias's comment.
    in reply to lordmonkey (Show the comment)
  • Baptiste Mille-Mathias

    code-wise Screen is said to be a giant spaghetti code (that's would explain the lack of maintenance).

    From user perspective, the performance is totally different, as a sysadmin I use to scroll over long files, and in screen it was really really slow, but in tmux it's blazing fast.

    In screen, I used to have lock up behavior, and had to kill all my session; I've never get that in tmux. I used to use screen for years, and I made the jump last year and I'll never to get back to screen.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Baptiste Mille-Mathias's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Baptiste Mille-Mathias's comment.
    in reply to Joseph Bane (Show the comment)
  • shmikimhs

    The main difference is that tmux uses a client-server model, with each session acting as a client. It's also much more configurable and has a bunch of little options that screen just doesn't have. Another advantage is that it's much newer than screen--screen has a bunch of old features (like connecting to serial devices) that really show its age, and it was last updated in 2006, while the latest tmux version literally just came out today. So I'd take tmux any day.

    · 8

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate shmikimhs's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate shmikimhs's comment.
    in reply to Joseph Bane (Show the comment)
  • lordmonkey

    How do you resize the panes ? (increse the width or height) 

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate lordmonkey's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate lordmonkey's comment.
  • NARKOZ2008

    The source code of GNU applications, such as GNU Screen, is generally regarded as buggy and unmaintainable.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate NARKOZ2008's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate NARKOZ2008's comment.
    in reply to Joseph Bane (Show the comment)
  • sporkonomix

    It's not much different, but it has modern configuration. Specifically, it's much easier to modify the window title and the statusbar(s).

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate sporkonomix's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate sporkonomix's comment.
    in reply to Joseph Bane (Show the comment)
  • pstcontrl

    I just started playing with tmux myself, but Wikipedia has a list that may answer your question.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate pstcontrl's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate pstcontrl's comment.
    in reply to Joseph Bane (Show the comment)
  • AppA

    It's similar, but it's included by default in OpenBSD, so I guess you can say that the code is heavily audited and bloat free.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate AppA's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate AppA's comment.
    in reply to Joseph Bane (Show the comment)
  • Corey Richardson

    @HavocBane, @hott85: tmux is newer, and isn't bogged down with legacy. In particular it has cleaner configuration, more extensibility, and hell of a lot cleaner code (GNU software almost always has ugly source, but with a clean API), as well as the things mentioned by others.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Corey Richardson's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Corey Richardson's comment.
  • Loading comment...
Loading...
Loading...
Working...
Sign in to add this to Watch Later