tmux @VERSION@ for Mac OS X 10.4 Tiger

tmux @VERSION@, the terminal multiplexer by Nicholas Marriott and its
contributors, built for Mac OS X 10.4 on every Mac that runs it: PowerPC
(G3, G4 and G5) and Intel. It is one universal program, with libevent,
ncurses and utf8proc inside, and it needs nothing that Tiger does not
have:

  /usr/local/bin/tmux
      tmux @VERSION@
  /usr/local/share/man/man1/tmux.1
      its manual page
  /usr/share/terminfo/74/tmux, /usr/share/terminfo/74/tmux-256color
      the terminal inside tmux, for Tiger's own programs (see below)
  /usr/local/share/doc/tmux-tiger
      this Read Me, the licenses, tmux.terminfo (the source of the two
      descriptions), update-shell-profile.sh

What it is for

Programs in tmux run in tmux's own sessions, not in the window or the ssh
connection you started them from. Close the window, or lose the
connection to the Mac, and they go on: a long build, a download, hax, a
shell. Come back, from the Mac or over ssh, and pick up the session where
it was. A session can also hold many windows, each split into panes.

Using it

The installer adds /usr/local/bin to the PATH in your shell profile
(~/.bash_profile for bash, the shell Tiger gives new accounts, or the
.bash_login or .profile you already have) and keeps the old profile beside
it as .tmuxsave. Open a new Terminal window:

  tmux
      starts a new session, with a shell in it
  Control-B, then D
      detaches: the session goes on without a window
  tmux attach
      attaches to the session again (tmux ls lists them all)

Inside tmux, Control-B is the prefix for its keys:

  Control-B c        a new window
  Control-B n, p     the next or the previous window
  Control-B %        split the pane left and right
  Control-B "        split the pane top and bottom
  Control-B arrow    go to another pane
  Control-B [        scroll back (q leaves)
  Control-B ?        all the keys

man tmux is the whole manual. tmux reads /usr/local/etc/tmux.conf and then
~/.tmux.conf; "set -g mouse on" there lets you click panes and scroll
with the mouse.

The terminal inside tmux

Programs in tmux see TERM=tmux-256color, with 256 colors. Tiger's own
terminal descriptions have no tmux entry, so the package adds two to
/usr/share/terminfo: without them, less, vim and Tiger's other programs
would say that the terminal is not fully functional. They also help when
you ssh to this Mac from tmux on a newer Mac or Linux, which sends the
same name.

tmux works in Tiger's Terminal (8 colors) and in TigerTTY (256 colors),
and over ssh in any current terminal.

On Tiger

A new window or pane opens in the folder where its session started, not
in the folder of the pane you were in: Tiger gives no way to see another
program's current folder. tmux shows the name of the program running in
each pane.

Uninstalling

In Terminal:

  sudo rm /usr/local/bin/tmux /usr/local/share/man/man1/tmux.1
  sudo rm /usr/share/terminfo/74/tmux /usr/share/terminfo/74/tmux-256color
  sudo rm -rf /usr/local/share/doc/tmux-tiger
  sudo rm -rf "/Library/Receipts/tmux @VERSION@.pkg"

If nothing else you use is in /usr/local/bin, take the "Setting PATH for
tmux" lines out of your shell profile.

How it was made

tmux was cross-compiled on Linux with GCC 13.4 for powerpc-apple-darwin8
(any G3 and up) and i686-apple-darwin8, against the Mac OS X 10.4u SDK,
with libevent 2.1.13, ncurses 6.6 and utf8proc 2.12 linked in. Its source
is not changed. tmux waits for input with select(), as it does on every
Mac, and utf8proc gives it the width of each character, emoji too. It
loads only Tiger's libSystem and libresolv. The two descriptions were
compiled by Tiger's own tic, and the package and this disk image were
made on Mac OS X 10.4.11 with its own mkbom, pax and hdiutil.

tmux is under the ISC license, libevent under the 3-clause BSD license,
ncurses under the X11 license and utf8proc under the MIT license, with
Unicode's license for its tables: see License.txt. Everything it was
built from is in tmux-@VERSION@-tiger-source.tar.gz, beside this disk
image.

Built @DATE@.
