Tiago Cunha
2ab568fa88
Sync OpenBSD patchset 853:
...
When clearing the entire screen, clear lines that are used into the
history like xterm does. Requested ages ago by someone I've forgotten.
2011-02-15 15:10:47 +00:00
Tiago Cunha
4e4568cade
Sync OpenBSD patchset 852:
...
Check if the index is in use and fail before creating the child process,
rather than leaving a stray child on failure.
2011-02-15 15:09:52 +00:00
Tiago Cunha
d0d1c0e486
Sync OpenBSD patchset 848:
...
Set $TMUX without the session when background jobs are run.
2011-02-14 23:11:33 +00:00
Nicholas Marriott
d37650dc4f
Spacing.
2011-02-14 20:39:40 +00:00
Nicholas Marriott
cf3b73167d
Expand an entry.
2011-02-12 15:51:11 +00:00
Nicholas Marriott
5532615bc0
Solaris is SunOS.
2011-02-11 23:31:15 +00:00
Nicholas Marriott
0fa8d18775
Remove some that are done and some that are duplicates or no longer needed.
2011-01-26 02:05:02 +00:00
Nicholas Marriott
5cbdd84686
While here, maximum percentage is 100 not INT_MAX. Oops.
2011-01-23 15:49:32 +00:00
Nicholas Marriott
2be75a0129
Size is -l not -s.
2011-01-23 15:47:31 +00:00
Tiago Cunha
ec3a764c76
Make bind-key accept characters with the top-bit-set and print them as octal.
2011-01-22 22:31:09 +00:00
Tiago Cunha
e3defd9b25
Sync OpenBSD patchset 847:
...
Fix bind-key -t.
2011-01-22 00:00:23 +00:00
Tiago Cunha
1930181b18
Sync OpenBSD patchset 846:
...
Only set a mouse mode for mouse-select-pane if none already set by the
mode (any will do).
2011-01-21 23:56:53 +00:00
Tiago Cunha
332bfbf273
Sync OpenBSD patchset 845:
...
Mouse highlight mode (1001) requires a program to cooperate so
supporting it through tmux is not as easy as this, remove it for now.
2011-01-21 23:56:11 +00:00
Tiago Cunha
7a68cff1db
Sync OpenBSD patchset 844:
...
Support -x and -y for new-session to specify the initial size of the
window if created detached with -d.
2011-01-21 23:55:26 +00:00
Tiago Cunha
6d9fe6c3aa
Sync OpenBSD patchset 843:
...
The maximum history-limit was accidentally reduced, fix it back to INT_MAX.
2011-01-21 23:54:19 +00:00
Tiago Cunha
c2ed0186de
Sync OpenBSD patchset 842:
...
Clarify alternate-screen description a little.
2011-01-21 23:53:45 +00:00
Tiago Cunha
3866988f87
Sync OpenBSD patchset 841:
...
Er, fix next and previous session functions to actually work, part 2.
2011-01-21 23:53:01 +00:00
Tiago Cunha
43f8d62f6a
Sync OpenBSD patchset 840:
...
Fix next and previous session functions to actually work.
2011-01-21 23:52:36 +00:00
Tiago Cunha
a880639f48
Sync OpenBSD patchset 839:
...
Log termios backspace for each client since it is used to recognise
backspace input.
2011-01-21 23:51:36 +00:00
Tiago Cunha
57eb948c48
Sync OpenBSD patchset 838:
...
Use TMPDIR if set, from Han Boetes.
2011-01-21 23:46:50 +00:00
Tiago Cunha
6c3186a19a
Sync OpenBSD patchset 837:
...
unbind-key -a is allowed no arguments.
2011-01-21 23:46:09 +00:00
Tiago Cunha
10a5a2175e
Sync OpenBSD patchset 836:
...
Remove a bit of text that makes exit-unattached description unclear.
2011-01-21 23:45:34 +00:00
Tiago Cunha
be7cec5640
Sync OpenBSD patchset 835:
...
Add missing arguments to some options.
2011-01-21 23:45:04 +00:00
Tiago Cunha
492e3aa437
Sync OpenBSD patchset 834:
...
Move all calls to fcntl(...O_NONBLOCK) into a function and clear the
flag on the stdio file descriptors before closing them (fixes things
like "tmux ls && cat").
2011-01-21 23:44:13 +00:00
Tiago Cunha
6b19621112
Sync OpenBSD patchset 833:
...
Accept colours of the hex form #ffffff and translate to the nearest from
the xterm(1) 256-colour set.
2011-01-21 23:42:14 +00:00
Tiago Cunha
324ffe20e9
Link with libm due to the upcoming patchset.
2011-01-21 23:40:30 +00:00
Nicholas Marriott
38f169113e
Support for HP-UX.
2011-01-21 20:35:20 +00:00
Nicholas Marriott
e34c6fd187
Only have one asprintf implementation, that's likely to always work.
2011-01-21 20:03:18 +00:00
Nicholas Marriott
ac01c2025a
Whoops, did not mean to do this.
2011-01-13 19:59:48 +00:00
Nicholas Marriott
e08a40be56
osdep-linux.c
2011-01-13 19:58:47 +00:00
Nicholas Marriott
abd1f615b2
Trim spaces.
2011-01-10 22:45:10 +00:00
Nicholas Marriott
a7b6445cc3
Better __progname check.
2011-01-10 22:12:31 +00:00
Nicholas Marriott
96fe3b26c1
Copy osdep-unknown.c for AIX to make @PLATFORM@ work.
2011-01-10 22:00:47 +00:00
Nicholas Marriott
93fd9cc29d
Check for optarg, optind, optreset.
2011-01-10 21:51:56 +00:00
Nicholas Marriott
87841b4f91
+.
2011-01-09 18:57:05 +00:00
Nicholas Marriott
676c62647c
+.
2011-01-07 19:01:19 +00:00
Tiago Cunha
30f6d9b167
Sync OpenBSD patchset 813:
...
Add a function to create window flags rather than doing the same thing
in two places. From Thomas Adam.
2011-01-07 16:55:40 +00:00
Tiago Cunha
1cb579d0fd
Bring the last remaining bits of dist.mk.
2011-01-07 15:09:04 +00:00
Tiago Cunha
3d4ebeb1b0
Sync OpenBSD patchset 832:
...
Whoops, command-prompt can take 0 or 1 argument.
2011-01-07 15:04:51 +00:00
Tiago Cunha
0fc4353fb3
Remove dead files entries.
2011-01-07 15:04:24 +00:00
Tiago Cunha
ca413cf270
Sync OpenBSD patchset 831:
...
Now that parsing is common, merge some of the small, related commands
together to use the same code.
Also add some arguments (such as -n and -p) to some commands to match
existing commands.
2011-01-07 15:02:38 +00:00
Tiago Cunha
b2b5d88f3f
Sync OpenBSD patchset 830:
...
argc will be 1 not 2 with no option value.
2011-01-07 14:51:54 +00:00
Tiago Cunha
ecec113b63
cmd-generic.c isn't needed anymore due to OpenBSD patchset 829.
2011-01-07 14:50:54 +00:00
Tiago Cunha
0740d3dbb8
Remove compat include.
2011-01-07 14:46:57 +00:00
Tiago Cunha
9301eeb4dd
More _SOURCES.
2011-01-07 14:46:13 +00:00
Tiago Cunha
1df427bc7b
Sync OpenBSD patchset 829:
...
Clean up and simplify tmux command argument parsing.
Originally, tmux commands were parsed in the client process into a
struct with the command data which was then serialised and sent to the
server to be executed. The parsing was later moved into the server (an
argv was sent from the client), but the parse step and intermediate
struct was kept.
This change removes that struct and the separate parse step. Argument
parsing and printing is now common to all commands (in arguments.c) with
each command left with just an optional check function (to validate the
arguments at parse time), the exec function and a function to set up any
key bindings (renamed from the old init function).
This is overall more simple and consistent.
There should be no changes to any commands behaviour or syntax although
as this touches every command please watch for any unexpected changes.
2011-01-07 14:45:34 +00:00
Tiago Cunha
219442cff7
Sync OpenBSD patchset 828:
...
Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
2011-01-07 14:34:45 +00:00
Tiago Cunha
3aaf5b9b1e
Sync OpenBSD patchset 827:
...
Handle a # at the end of a replacement string (such as status-left)
correctly. Found by Thomas Adam.
2011-01-07 14:32:26 +00:00
Nicholas Marriott
b463d3de54
Missing HAVE_STDINT_H.
2011-01-07 00:35:13 +00:00
Nicholas Marriott
f705c0e013
Whoops, bad copy and paste.
2011-01-04 09:48:10 +00:00