public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] screen, screen+byobu, or tmux?
Date: Sun, 17 Apr 2011 10:20:25 +0100	[thread overview]
Message-ID: <37585163-F643-419A-AF60-4EA85CD291E2@stellar.eclipse.co.uk> (raw)
In-Reply-To: <BANLkTikmK5KBZiRGg+d1Y9vDhsHfqXYP0g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]


On 17/4/2011, at 5:39am, Pandu Poluan wrote:

> So, anyone got any experience using screen and screen+byobu and tmux?

tmux, as discussed here at length in the past.

Useful features include [1].

Because tmux is a single server daemon and you can run tmux commands from both inside and outside of it, without needing to go into "command mode", you can do useful things like:

  for host in server1 server2 server3
  do
    tmux new-window -d "ssh $host" 
  done

Then using `tmux synchronize-panes on` you can `emerge -pv world` (or whatever) to all hosts.

This is just one example. Maybe you need italics support, or something else instead. tmux is better than screen lots of minor ways, that are cumulatively significant IMO. 

tmux "doesn't need" byobu because it's better than screen in the first place, although it does need some customisation, IMO (see attached). If you have a window manager that provides a clock, then having it also in your screen / tmux status line is just a distraction and a waste of space; likewise CPU meters are always so, IMO.

Stroller.



[1] http://sourceforge.net/mailarchive/forum.php?thread_name=20110417043659.GA10986%40carbon.vonhaugwitz.com&forum_name=tmux-users


[-- Attachment #2: tmux.conf --]
[-- Type: application/octet-stream, Size: 520 bytes --]

set -g prefix C-a
unbind C-b
bind C-a send-prefix

setw -g mode-keys vi
set-option -g status-keys vi

set-option -g status-justify centre
set -g status-bg black
set -g status-fg green
set-window-option -g window-status-current-bg green
set-window-option -g window-status-current-fg black

set -g status-right '#[fg=blue][#S]'
set -g status-left-length 20
set -g status-left '#[fg=blue]#T'
#set -g status-left '#[fg=blue]#(hostname)'

set-window-option -g mode-bg green

set -g message-bg green
#set -g message-fg white


      parent reply	other threads:[~2011-04-17 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-17  4:39 [gentoo-user] screen, screen+byobu, or tmux? Pandu Poluan
2011-04-17  7:24 ` Jesús J. Guerrero Botella
2011-04-17  9:20 ` Stroller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37585163-F643-419A-AF60-4EA85CD291E2@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox