save-buffer needs to use O_TRUNC.
Don't blindly increase offsets by the return value of snprintf, if there
wasn't enough space this will go off the end. Instead clamp to the
available space. Fixes crash reported by Julien Rebetez.
Don't leak socketpair file descriptors if fork fails. Spotted by Balazs
Kezes.
+.
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Because we pass the file descriptor from client to server, tmux can't
usefully work if stdin is /dev/tty. Complain about it more clearly.
Remove the choose-list command to prepare for some later choose-* work.
Remove a leftover prototype and fix some spacing.
Memory leak in error path and unnecessary assignment, from clang.
Remove the monitor-content option and associated bits and bobs. It's
never worked very well. If there is a big demand for it to return, will
consider better ways to do it.
Do not show the -fg, -bg and -attr options. If asked for one explicitly,
show the equivalent -style option instead.
Extend the -q flag to set-option to suppress errors about unknown
options - this will allow options to be removed more easily.
Remove the "info" message mechanism, this was only used for about five
mostly useless and annoying messages. Change those commands to silence
on success like all the others. Still accept the -q command line flag
and "quiet" server option for now.
Correct the dance to fix the active pane in join-pane by pulling the
(right) code from break-pane and window_remove_pane into a helper
function.
Remove some unnecessary includes and fix a typo.
Don't limit the DCS buffer to 256 bytes, expand it as needed. Requested
by Suraj Kurapati.
Wrap some long lines.
Set PATH explicitly, either from client or session
environment. Previously it came from the session environment. From J
Raynor.
Only scroll by one line at a time in choose mode, lists are generally
pretty small.
Next up is 2.0 not 1.10.