summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-07-28Final pieces of mode key rebinding: bind-key and unbind-key now accept a -tNicholas Marriott
argument to modify a table.
2009-07-28remove core / tilde C. it's useless, doesn't work, never has beenMartynas Venckus
documented, ^\ should be used instead. ok millert@
2009-07-28Accept and print "Enter" and "Escape" for keys rather than C-m and C-[.Nicholas Marriott
2009-07-28Next step towards customisable mode keys: build each default table of keys intoNicholas Marriott
a named tree on start and use that for lookups. Also add command to string translation tables and modify list-keys to show the the mode key bindings (new -t argument).
2009-07-28If select-layout is not given an argument, repply the last layout used in theNicholas Marriott
window, if any.
2009-07-27- make urls such as http://foo, http://foo/, or http://foo/bar/Martynas Venckus
fetchable, if -o outfile is passed. outfile will be used as a local filename - fix a bug where 'no file after host' code path never got entered; consider no file after dir invalid; as code intended proxy help&ok halex@; testing(including proxies,pkg_add)&ok sthen@; looks good to millert@
2009-07-27Remove an unused entry in the mode keys command enum and renameNicholas Marriott
MODEKEYCOPY_QUIT to _CANCEL to match the others.
2009-07-27Change mode key bindings from big switches into a set of tables. Rather thanNicholas Marriott
lumping them all together, split editing keys from those used in choice/more mode and those for copy/scroll mode. Tidier and clearer, and the first step towards customisable mode keys.
2009-07-27Get rid of empty mode_key_free function.Nicholas Marriott
2009-07-27document how patterns are matched and that only the first 16 charsJason McIntyre
are tracked to match the command name; pointed out by fgsch diff adapted from text from gad@freebsd ok fgsch sobrado millert
2009-07-27Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in vi).Nicholas Marriott
From Kalle Olavi Niemitalo.
2009-07-27Draw UTF-8 characters under the selection correctly.Nicholas Marriott
2009-07-27Change previous-word behavior to move to the beginning of the word (matchesNicholas Marriott
emacs and vi). From Kalle Olavi Niemitalo.
2009-07-26now in sync with version 1.8.1Ingo Schwarze
2009-07-26sync to 1.8.1: explicit-close macros now only warn when encounteringIngo Schwarze
trailing terms and do not error out any more, try: .Ed foo
2009-07-26sync to 1.8.1: remove superfluous NOSPACE in bd post,Ingo Schwarze
and remove unused TERMP_LITERAL
2009-07-26sync to 1.8.1: add a comment explaining the non-trivial termpair semantics;Ingo Schwarze
a bug in this very respect was contained in the upstream equivalent of rev. 1.28, but was squashed while merging into OpenBSD
2009-07-26sync to 1.8.1: describe corrected handling of quoted literals,Ingo Schwarze
remove trailing whitespace and much minor cleanup
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.