TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

tmux 1.8 Released

247 点作者 jterenzio大约 12 年前

32 条评论

danielweber大约 12 年前
I love web pages like this. The top of it reads:<p>"tmux is a terminal multiplexer"<p>"What is a terminal multiplexer? It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. And do a lot more. See the manual."<p>That's awesome. So many times someone posts on HN "CaffBook.ly.errr 0.98 now released" and I have no idea what it is or why I would want it.
评论 #5463110 未加载
jscheel大约 12 年前
If you like tmux, also check out teamocil (<a href="https://github.com/remiprev/teamocil" rel="nofollow">https://github.com/remiprev/teamocil</a>) to really enhance your use. It enables you to define tmux sessions via YAML, which is great for programmatically setting up a complex dev session. Mine, for example, fires up six panes in my preferred layout, and starts up a particular part of our project in each pane.
评论 #5462410 未加载
评论 #5462233 未加载
评论 #5462258 未加载
评论 #5463296 未加载
评论 #5462433 未加载
评论 #5464434 未加载
AlexanderDhoore大约 12 年前
Tmux + Vim = Pure Awesome.<p>I use vim-slime[1] to send strings to other panes in tmux. I never type anything directly into a REPL. I just send my code from Vim to it. It's amazing with lisp or python. (A little less amazing with php, as the php repl IS AWEFUL)<p>[1] <a href="https://github.com/jpalardy/vim-slime" rel="nofollow">https://github.com/jpalardy/vim-slime</a>
评论 #5462187 未加载
评论 #5462122 未加载
cturner大约 12 年前
I realise you can rebind them, but both screen and tmux do themselves a disservice by choosing binding keys which overlap with prominent keys in emacs and for users who use emacs mode in their shell.<p>First impressions count.<p>If you want to configure tmux to use just a backtick as the escape, create ~/.tmux.conf<p><pre><code> unbind C-b set -g prefix ` bind-key ` send-prefix </code></pre> When you need to type a backtick just press it twice.<p>For screen, I used to do this:<p><pre><code> escape `` </code></pre> .. in ~/.screenrc, but I've just tried it and it seems that there's now no easy way to type a backtick when you need one.<p>Query: in screen I can switch between two buffers by doing ctrl+a, ctrl+a. This doesn't work in tmux. How do I configure this to work in tmux?
评论 #5462504 未加载
评论 #5462339 未加载
评论 #5462306 未加载
评论 #5462458 未加载
评论 #5464175 未加载
评论 #5463937 未加载
评论 #5462414 未加载
评论 #5462279 未加载
评论 #5463036 未加载
jterenzio大约 12 年前
Changelog: <a href="http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/CHANGES" rel="nofollow">http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/CHANG...</a>
评论 #5461835 未加载
评论 #5462133 未加载
javanix大约 12 年前
Changelog:<p><a href="http://sourceforge.net/p/tmux/tmux-code/ci/1b083aa0fd2d8ac000504488135bf58e35c3361e/tree/CHANGES" rel="nofollow">http://sourceforge.net/p/tmux/tmux-code/ci/1b083aa0fd2d8ac00...</a>
Cthulhu_大约 12 年前
I want to like tmux, I really do, but my main gripes are scrolling in panes with the scroll wheel and selecting / copy/pasting text. iTerm (osx) or Terminator (linux) handle that much better, although I admit they can't really be compared technology-wise.<p>Alternatively, I never figured out how to select / copy text just as fast in tmux / vim / etc as with the mouse.
评论 #5462293 未加载
评论 #5462194 未加载
评论 #5463079 未加载
评论 #5462416 未加载
VaucGiaps大约 12 年前
Incompatible Changes ====================<p>* layout redo/undo has been removed.<p>Normal Changes ==============<p>* Add halfpage up/down bindings to copy mode.<p>* Session choosing fixed to work with unattached sessions.<p>* New window options window-status-last-{attr,bg,fg} to denote the last window which was active.<p>* Scrolling in copy-mode now scrolls the region without moving the mouse cursor.<p>* run-shell learnt '-t' to specify the pane to use when displaying output.<p>* Support for middle-click pasting.<p>* choose-tree learns '-u' to start uncollapsed.<p>* select-window learnt '-T' to toggle to the last window if it's already current.<p>* New session option 'assume-paste-time' for pasting text versus key-binding actions.<p>* choose-* commands now work outside of an attached client.<p>* Aliases are now shown for list-commands command.<p>* Status learns about formats.<p>* Free-form options can be set with set-option if prepended with an '@' sign.<p>* capture-pane learnt '-p' to send to stdout, and '-e' for capturing escape sequences, and '-a' to capture the alternate screen, and '-P' to dump pending output.<p>* Many new formats added (client_session, client_last_session, etc.)<p>* Control mode, which is a way for a client to send tmux commands. Currently more useful to users of iterm2.<p>* resize-pane learnt '-x' and '-y' for absolute pane sizing.<p>* Config file loading now reports errors from all files which are loaded via the 'source-file' command.<p>* 'copy-pipe' mode command to copy selection and pipe the selection to a command.<p>* Panes can now emit focus notifications for certain applications which use those.<p>* run-shell and if-shell now accept formats.<p>* resize-pane learnt '-Z' for zooming a pane temporarily.<p>* new-session learnt '-A' to make it behave like attach-session.<p>* set-option learnt '-o' to prevent setting an option which is already set.<p>* capture-pane and show-options learns '-q' to silence errors.<p>* New command 'wait-for' which blocks a client until woken up again.<p>* Resizing panes will now reflow the text inside them.<p>* Lots and lots of bug fixes, fixing memory-leaks, etc.<p>* Various manpage improvements.
评论 #5462436 未加载
sasvari大约 12 年前
Here [0] is a nice introduction to the newly introduced <i>zoomed panes</i> feature in tmux 1.8 by Tom Ryder.<p>[0] <a href="http://blog.sanctum.geek.nz/zooming-tmux-panes/" rel="nofollow">http://blog.sanctum.geek.nz/zooming-tmux-panes/</a>
评论 #5462971 未加载
thelarry大约 12 年前
Should i finally switch from screens to tmux?
评论 #5462009 未加载
评论 #5462035 未加载
评论 #5462135 未加载
评论 #5462060 未加载
评论 #5462228 未加载
评论 #5461990 未加载
评论 #5462037 未加载
Sikul大约 12 年前
Does anyone know where to find a good introduction to tmux?<p>I attempted to start using it a couple of weekends ago but wasn't able to find any good documentation with my google-fu.
评论 #5462912 未加载
评论 #5462936 未加载
bjliu大约 12 年前
<a href="http://www.tenshu.net/p/terminator.html" rel="nofollow">http://www.tenshu.net/p/terminator.html</a> kinda like this...
评论 #5463758 未加载
评论 #5462915 未加载
评论 #5464441 未加载
luser001大约 12 年前
Anybody know if it's possible to move between terminal windows (panes in tmux lingo) "clockwise" and "anti-clockwise"?
评论 #5462209 未加载
评论 #5462356 未加载
评论 #5462128 未加载
ludwig大约 12 年前
For what it's worth, here is my carefully crafted ~/.tmux.conf file. I was used to screen, so I carried most of the keybindings along when I switched to tmux.<p><a href="https://github.com/ludwig/dotfiles/blob/master/tmux.conf" rel="nofollow">https://github.com/ludwig/dotfiles/blob/master/tmux.conf</a>
alepper大约 12 年前
Two things I missed from screen last I tried tmux: an equivalent of 'screen -xRR' and an orthogonality between terminals and windows so that distinct terminals connected to one session can display different windows. Especially the latter of these is integral to my workflow.
mcrittenden大约 12 年前
Is there any compelling reason to use tmux if you're already using a tiling window manager?
评论 #5462200 未加载
评论 #5462204 未加载
评论 #5462291 未加载
srik大约 12 年前
tmux status bars are customizable(no surprises there I guess) and the powerline is one of the nicer status bar arrangements - <a href="https://github.com/erikw/tmux-powerline" rel="nofollow">https://github.com/erikw/tmux-powerline</a>
s00pcan大约 12 年前
'copy-pipe' mode command to copy selection and pipe the selection to a command.<p>This is exactly the functionality I was looking for back when it didn't exist. It wasn't immediately obvious how to use this, but here's how:<p>bind-key -t vi-copy 'y' copy-pipe "redis-cli -x set status"<p>set-option -g status-right '#(redis-cli --raw get status)'<p>And now I have a message I just copied to redis in my tmux status bar. I'm planning on doing this with clipboard text next.
irahul大约 12 年前
If you are moving from screen to tmux, it's very easy to configure tmux to behave like screen. Also, for split panes, I like vim bindings('C-a l' for left pane, 'C-a r' for right pane, 'C-a &#60;' for resize pane...). I have bindings for copying tmux buffer to and from clipboard(needs xclip).<p><a href="https://gist.github.com/rahulkmr/5275679" rel="nofollow">https://gist.github.com/rahulkmr/5275679</a>
akurilin大约 12 年前
Don't know if I'm the only one in this boat, but I often feel pretty conflicted about upgrading to a newer version of a tool where I have had a lot of configuration and shortcuts defined for ages. If any of them break, you'll have to go back and dig through the arcane tmux config file, figure out what changed.
ZeWaren大约 12 年前
For the lulz I use neercs. It's the same as screen and tmux, except you get thumbnails of your panes in some kind of taskbar; and most importantly, you can switch between panes with a cube ascii animation, compiz style.<p><a href="http://caca.zoy.org/wiki/neercs" rel="nofollow">http://caca.zoy.org/wiki/neercs</a>
q_revert大约 12 年前
the new choose-tree commmand is superb, for anyone who regularly uses tmux and already understands how great it is, you should consider upgrading for this alone..<p>with several sessions running on most of my machines, i frequently found myself `detaching` and `reattaching` to a different session... as the `choose-session` command gives you a full list of all the windows, which tends to obfuscate exactly what's going on, particularly if you have a bunch of sessions and windows..<p>however, the `choose-tree` gives you a session tree, which you can expand and easily identify... meaning that instead of sending `^a d`, followed by tmux attach sessionname you can comfortably do a `^a s` and get where you want to be (presuming you've remapped ^b to ^a)<p>also, you should be using the tmux buffers, `^a =`!
snitko大约 12 年前
One thing that I really want is the ability to set different background colors for panes and windows. Sadly, it is a feature of a terminal app, not tmux. One can only imagine tmux would integrate tightly with various terminal applications to accomplish that.
eslaught大约 12 年前
Does this release have better performance than previous releases? I enjoy using tmux, but for some applications (i.e. with large amounts of text spewing to the console) it just hasn't (historically) performed as well as GNU screen.
n0mad01大约 12 年前
i've switched from tmux to screen to byobu ( which is a wrapper for screen ) because of its simplicity. screen also has very little problems, with tmux i always had time costly issues.
Keyneston大约 12 年前
Anyone know if it is possible to do single combination keybindings? Currently all of the keybindings are things like 'Ctrl+W L', whereas I'd like to do things like 'Command+L'?
评论 #5464530 未加载
christiangenco大约 12 年前
To install/update on a mac, install Homebrew[1] and run `brew install tmux`.<p>1. <a href="http://mxcl.github.com/homebrew/" rel="nofollow">http://mxcl.github.com/homebrew/</a>
andyana大约 12 年前
id love zmodem support... but I'm probably the only one that uses it
评论 #5465195 未加载
sunyc大约 12 年前
i suggest new commer give byobu a try, a wrapper of tmux.
评论 #5462745 未加载
nachteilig大约 12 年前
tmux has been a great recent upgrade for me -- switched from a bunch of nested screens. really highly recommended.
alinspired大约 12 年前
pracically - how is it different form screen ?
andyl大约 12 年前
What is the simplest way to install tmux 1.8 on Ubuntu 12.04?? Running `sudo apt-get install tmux` puts tmux 1.6 on my system...
评论 #5462001 未加载
评论 #5461980 未加载
评论 #5461985 未加载
评论 #5461979 未加载
评论 #5462141 未加载