summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-02-06Use the array.h code for the causes list.Nicholas Marriott
2010-02-06Support attaching a client read-only with a new -r flag to the attach-sessionNicholas Marriott
command.
2010-02-06Change nested check to compare server socket path rather than just assumingNicholas Marriott
that if $TMUX is set it is nested. From Micah Cowan.
2010-02-06Clean up $TMUX parsing, from Micah Cowan, tweaked by me.Nicholas Marriott
2010-02-06Rectangle copy support, from Robin Lee Powell.Nicholas Marriott
2010-02-06Instead of bailing out on the first configuration file error, carry on,Nicholas Marriott
collecting all the errors, then start with the active window in more mode displaying them.
2010-02-05Header_lines always has the same value as y_procs; so zap the former;Otto Moerbeek
from Mark Lumsden.
2010-02-04xargs -I and -L are XPG4, not POSIX; ok jmc@Ingo Schwarze
2010-02-04vi-style B, W and E keys in copy mode to navigate between words treating onlyNicholas Marriott
spaces as word separators. Also add . to the list of word separators for standard word navigation. From Micah Cowan, tweaked slightly by me.
2010-02-04Read the path from $TMUX if it is present and -L and -S are not given. Based onNicholas Marriott
a diff from Micah Cowan.
2010-02-04Option to display the active pane in a different colour with the display-panesNicholas Marriott
command. From Paul Hoffman, thanks.
2010-02-04MACHINE_CPU here too;Jason McIntyre
2010-02-03Fix divide by zero on small windows with main-* layouts.Nicholas Marriott
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2010-02-03If MACHINE_CPU != MACHINE_ARCH, pass -D__${MACHINE_CPU}__ to the preprocessor.Miod Vallat
ok kettenis@
2010-02-03Add a new default variable in Makefile context, MACHINE_CPU. Its value isMiod Vallat
decided at compile-time and is either MACHINE_CPU from <machine/param.h> if it is defined, or the same value as MACHINE_ARCH otherwise. This will be used to allow ports with suffixes to their canonical MACHINE_ARCH to provide this canonical name as MACHINE_CPU, and in turn to let Makefiles do TRT. ok kettenis@
2010-02-03make it clear that -iname supports globbing;Ingo Schwarze
refer to glob(7) for more precision; add some relevant and remove some not so relevant .Xrs; ok jmc@
2010-02-02make buffer_get_string_ret() really non-fatal in all cases (it wasDamien Miller
using buffer_get_int(), which could fatal() on buffer empty); ok markus dtucker
2010-02-01If redrawing line 0 of the screen onto the tty, there can't be a wrap flag onNicholas Marriott
the previous line, so move the cursor. Fixes status line redraw issues when resizing in choose mode and hopefully at other times as well.
2010-02-01Add scroll-up/scroll-down for choose/more mode, from Micah Cowan.Nicholas Marriott
2010-01-31Remove unnecessary comparison, pointed out by Tiago Cunha.Nicholas Marriott
2010-01-31Fix DPADD, from Brad.Nicholas Marriott
2010-01-30fake local addr:port when stdio fowarding as some servers (Tectia atDamien Miller
least) validate that they are well-formed; reported by imorgan AT nas.nasa.gov ok dtucker
2010-01-30debug output goes to stderr, not "the system log"; ok markus dtuckerDamien Miller
2010-01-30Don't stop parsing command sequences when a command requests the client toNicholas Marriott
stick around (attach-session/new-session).
2010-01-30Ignore SIGHUP as well.Nicholas Marriott
2010-01-30don't mark channel as read failed if it is already closing; suppressesDamien Miller
harmless error messages when connecting to SSH.COM Tectia server report by imorgan AT nas.nasa.gov
2010-01-29kill correct channel (was killing already-dead mux channel, notDamien Miller
its session channel)
2010-01-29Allow sorting by command and pid. Also, allow partial matches with strncmp.Ted Unangst
ok jmc otto
2010-01-29set FD_CLOEXEC on sock_in/sock_out; bz#1706 from jchadima AT redhat.comDamien Miller
ok dtucker@
2010-01-28Typo, from Micah Cowan.Nicholas Marriott
2010-01-28downgrade an error() to a debug() - this particular case can be hit inDamien Miller
normal operation for certain sequences of mux slave vs session closure and is harmless
2010-01-27Actually bind the new key to e.Nicholas Marriott
2010-01-27Calculate offset correctly, fixes incorrect offset and prevents crash whenNicholas Marriott
status-left is empty. From Micah Cowan.
2010-01-27Alter next-word to have vi-like movement behaviour, and add next-word-end withNicholas Marriott
the existing emacs behaviour. From Micah Cowan.
2010-01-27add missing "p" flag to getopt optstring;Damien Miller
bz#1704 from imorgan AT nas.nasa.gov
2010-01-27fix bug introduced in mux rewrite:Damien Miller
In a mux master, when a socket to a mux slave closes before its server session (as may occur when the slave has been signalled), gracefully close the server session rather than deleting its channel immediately. A server may have more messages on that channel to send (e.g. an exit message) that will fatal() the client if they are sent to a channel that has been prematurely deleted. spotted by imorgan AT nas.nasa.gov
2010-01-26Actually use the copy made when no newline is found, from martynas@.Nicholas Marriott
2010-01-26-Wuninitialized and remove a // comment; from portableDamien Miller
2010-01-26rewrite ssh(1) multiplexing code to a more sensible protocol.Damien Miller
The new multiplexing code uses channels for the listener and accepted control sockets to make the mux master non-blocking, so no stalls when processing messages from a slave. avoid use of fatal() in mux master protocol parsing so an errant slave process cannot take down a running master. implement requesting of port-forwards over multiplexed sessions. Any port forwards requested by the slave are added to those the master has established. add support for stdio forwarding ("ssh -W host:port ...") in mux slaves. document master/slave mux protocol so that other tools can use it to control a running ssh(1). Note: there are no guarantees that this protocol won't be incompatibly changed (though it is versioned). feedback Salvador Fandino, dtucker@ channel changes ok markus@
2010-01-25Hugely simplify window_copy_cursor_next_word, which was way overcomplicated.Nicholas Marriott
2010-01-25Update the selection properly after goto line or searching.Nicholas Marriott
2010-01-25Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.Nicholas Marriott
2010-01-24Redraw properly when scrolling backward and the cursor is on the lastNicholas Marriott
line. Based on a fix from Micah Cowan.
2010-01-24- revert previous; nitems() shouldn't be used in userland (yet).Jasper Lievisse Adriaanse
ok kjell@
2010-01-24use nitems here, no real changeTed Unangst
2010-01-23When a window is destroyed, remove all links to it from each session ratherNicholas Marriott
than just the first. Reported by Robin Lee Powell.
2010-01-23Don't leak if arguments appear multiple times, from Tiago Cunha.Nicholas Marriott
2010-01-23Use C-e and C-y for scrolling in vi mode, from Micah Cowan.Nicholas Marriott
2010-01-23It's wrong to complain about illegal -c arguments when findingIngo Schwarze
illegal -b arguments, so fix the error messages; patch from Laurent Ghigonis <ooookiwi at gmail dot com> on tech@. While here, improve the manual, too: * arguments need not be in increasing order * CAVEAT: -b and -c do the same right now feedback and ok jmc@