summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-07-26sync to 1.8.1: rewrite quoted literal handling correctly,Ingo Schwarze
rewrite TABSEP handling in a simpler way, and retire ECOLEMPTY, ARGS_QUOTED and ARGS_ARGVLIKE
2009-07-26Detect backspace by looking at termios VERASE and translate it into \177 (whichNicholas Marriott
matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs cap is often wrong or missing so it can't be used, and just assuming \177 may be wrong.
2009-07-26Calculate the space available for the prompt buffer and the cursor positionNicholas Marriott
correctly, and make it work when the screen is not wide enough. Noticed by Kalle Olavi Niemitalo.
2009-07-26Go to the next if the current best process is replaced, don't keep comparing itNicholas Marriott
with itself. Also fix process name comparison.
2009-07-26Make all messages sent between the client and server fixed size.Nicholas Marriott
This is the first of two changes to make the protocol more resilient and less sensitive to other changes in the code, particularly with commands. The client now packs argv into a buffer and sends it to the server for parsing, rather than doing it itself and sending the parsed command data. As a side-effect this also removes a lot of now-unused command marshalling code. Mixing a server without this change and a client with or vice versa will cause tmux to hang or crash, please ensure that tmux is entirely killed before upgrading.
2009-07-26sync to 1.8.1: removed excessively verbose EARGVPARM warningIngo Schwarze
2009-07-26sync to 1.8.1: support .br and .spIngo Schwarze
2009-07-26sync to 1.8.1: modify macro hash tables to deal with lowercase macro names;Ingo Schwarze
kristaps@ thinks the tables are too sparse and need more work later
2009-07-26sync to 1.8.1: small clarity updates;Ingo Schwarze
while here, strip trailing white space
2009-07-26sync to 1.8.1: .Bl -diag lacked the second blank after the tagIngo Schwarze
2009-07-26sync to 1.8.1: correct vis count for erroneously-decorated whitespace;Ingo Schwarze
while here, add a new FIXME wrt .Bl -diag
2009-07-26sync to 1.8.1: word splitting now happens in libmdoc,Ingo Schwarze
and remove costly, redundant calculations of string length
2009-07-26sync to 1.8.1: libmdoc now breaks up free-form lines into tokens;Ingo Schwarze
will simplify LITERAL mode in front-end
2009-07-25sync to 1.8.1: fix date in footer; from Ulrich SporleinIngo Schwarze
2009-07-25sio_open returns a pointer so the < 0 comparison is wrongAlexandre Ratchov
from Thomas Pfaff, thanks
2009-07-25fix comments, remove no longer needed declaration, reorder includesAlexandre Ratchov
from Thomas Pfaff
2009-07-25Currently midi capable programs can control midi hardware, butAlexandre Ratchov
cannot cooperate with other programs. The aim of this change is to allow any program to send midi data to other programs as they were midi hardware. For instance, this change should solve the longstanding problem of using a midi sequencer with software synthesizers. More precisely: - new midicat(1) utility (actually hardlink to aucat(1)). it creates software midi thru boxes, allowing programs to send midi messages to other programs as they were midi(4) hardware. - new midi api in libsndio (see mio_open(3)), to access midi(4) devices and midicat(1) sockets in a uniform way. - new device naming scheme <service>:<unit>[.<option>], common to audio and midi. - new sndio(7) manual describing concepts and naming The current audio device naming still works, but people having scripts or configuration files containing device names could read the sndio(7) man page and slowly start updating device names. discussed with jakemsr@ and deraadt@, help form jmc@
2009-07-24Set the active pane when respawning a window - fixes problems when respawning aNicholas Marriott
window with multiple panes.
2009-07-24Use the full range of ACS line drawing characters to draw pane borders,Nicholas Marriott
including intersections.
2009-07-24cmd_find_index should return -2 on error.Nicholas Marriott
2009-07-24Simplify screen redrawing by drawing the border and background together ratherNicholas Marriott
than border separately, and consolidating all the drawing characters into one string.
2009-07-24Accept lowercase c- and m- prefix as well as C- and M-.Nicholas Marriott
2009-07-24Permit commands to be bound to key presses without the prefix key first. TheNicholas Marriott
new -n flag to bind-key and unbind-key sets or removes these bindings, and list-key shows them in []s.
2009-07-24up-pane and down-pane no longer auto-repeat; update the description ofStuart Henderson
repeat-time accordingly. ok nicm@ if you prefer old behaviour; bind -r Up up-pane bind -r Down down-pane
2009-07-23None of the server message functions return anything but 0, so make them allNicholas Marriott
void. Also remove a leftover variable in client.c.
2009-07-23Tidy client message return slightly: convert flags into an enum, and mergeNicholas Marriott
error string into struct client_ctx as well.
2009-07-23elide a little bit later, the final list, after From has beenMartynas Venckus
appended. properly removes if there's a dup in from & to. ok millert@
2009-07-23Redraw after starting selection to correctly remove any existing selection.Nicholas Marriott
2009-07-23Revert r1.5, I don't like it, new sessions should start off identically - withNicholas Marriott
the defaults.
2009-07-23C-d is delete as well in emacs mode.Nicholas Marriott
2009-07-23Both of cmdclient and curclient CAN be NULL - if the command is executed fromNicholas Marriott
the configuration file. In this case, attach-session can't do much, and new-session should just assume -d.
2009-07-22If there is a current session, use its default path and working directory forNicholas Marriott
the initial window when creating a new session.
2009-07-22Pass a set of flags into client_init rather than just a start_serverNicholas Marriott
variable. Only one flag now but more to come later.
2009-07-22window_add_pane cannot fail, so remove the unused cause argument and don'tNicholas Marriott
bother to check for a NULL return.
2009-07-22Tidy the target parsing code a bit and correct the behaviour so that as beforeNicholas Marriott
a string with no colon as a target window is first looked up as a window then as a session, noted by Iain Morgan. Also attempt to clarify the description of the target specification in the man page.
2009-07-22tty_write is relatively short and the only function left in tty-write.c so moveNicholas Marriott
it into tty.c.
2009-07-22More tty code tidying: move the saved cursor/region position (from before theNicholas Marriott
screen was updated) out of struct screen and into struct tty_ctx.
2009-07-22log_debug3 no longer exists, change the sole use in GRID_DEBUG to log_debug2.Nicholas Marriott
2009-07-22enum tty_cmd is only used as an index into the array of command functionNicholas Marriott
pointers, so remove it and use the function pointers directly to represent themselves.
2009-07-22There are relatively few arguments to tty_cmd_* functions now, so tidy them upNicholas Marriott
by using a struct rather than hiding everything with varargs.
2009-07-22tty_cmd_raw is only used once, for raw UTF-8 output, so rename it toNicholas Marriott
tty_cmd_utf8character and eliminate the size argument.
2009-07-22enter_user() is only called in one way, rendering the third parameterTheo de Raadt
useless; from mark@cyodesigns.com
2009-07-21Adjust field width to fit longest key when listing.Nicholas Marriott
2009-07-21Remove leftover debug logging of password.Nicholas Marriott
2009-07-21Make some functions which return unused values void (mostly found by lint) andNicholas Marriott
tweak a redundant expression in window_pane_set_mode.
2009-07-21Nix a few unused attributes on arguments which are no longer unused.Nicholas Marriott
2009-07-21Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found byNicholas Marriott
lint.
2009-07-21__progname is not const, pointed out by deraadt.Nicholas Marriott
2009-07-21Tidy up keys: use an enum for the key codes, and remove the macros which justNicholas Marriott
wrap flag sets/clears/tests.
2009-07-21add missing flag to synopsis.Igor Sobrado