The ``bug'':
$ tmux -8
tmux: unknown option -- 8
usage: tmux [-28lquv] [-c shell-command] [-f file] [-L socket-name]
[-S socket-path] [command [flags]]
Explanation:
Support for 88 color terminals in tmux(1) was removed from the source tree
about a year ago, see e.g.
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tmux/tmux.c.diff?r1=1.116;r2=1.117
while usage() and the manual still mention the option ``-8'' in some places.
The diffs below are supposed to fix usage() in tmux.c, as well as the manpage.
I also adjusted the documented default string for the session option
``terminal-overrides'' to the one currently set in options-table.c
Index: tmux.1
===================================================================
RCS file: /cvs/src/usr.bin/tmux/tmux.1,v
retrieving revision 1.379
diff -u -p -r1.379 tmux.1
--- tmux.1 2 Feb 2014 08:48:48 -0000 1.379
+++ tmux.1 14 Feb 2014 18:46:02 -0000
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm tmux
.Bk -words
-.Op Fl 28lCquv
+.Op Fl 2lCquv
.Op Fl c Ar shell-command
.Op Fl f Ar file
.Op Fl L Ar socket-name
@@ -2637,9 +2637,9 @@ The terminal entry value is passed throu
before interpretation.
The default value forcibly corrects the
.Ql colors
-entry for terminals which support 88 or 256 colours:
+entry for terminals which support 256 colours:
.Bd -literal -offset indent
-"*88col*:colors=88,*256col*:colors=256,xterm*:XT"
+"*256col*:colors=256,xterm*:XT"
.Ed
.It Ic update-environment Ar variables
Set a space-separated string containing a list of environment variables to be
Index: tmux.c
===================================================================
RCS file: /cvs/src/usr.bin/tmux/tmux.c,v
retrieving revision 1.128
diff -u -p -r1.128 tmux.c
--- tmux.c 15 Jan 2014 11:46:28 -0000 1.128
+++ tmux.c 14 Feb 2014 18:46:02 -0000
@@ -57,7 +57,7 @@ __dead void
usage(void)
{
fprintf(stderr,
- "usage: %s [-28lquv] [-c shell-command] [-f file] [-L
socket-name]\n"
+ "usage: %s [-2lquv] [-c shell-command] [-f file] [-L socket-name]\n"
" [-S socket-path] [command [flags]]\n",
__progname);
exit(1);