summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-09-22Permit multiple prefix keys to be defined, separated by commas, for example:Nicholas Marriott
set -g prefix ^a,^b Any key in the list acts as the prefix. The send-prefix command always sends the first key in the list.
2009-09-21sync to 1.9.5: lookup hashes are now static tablesIngo Schwarze
shortening the code, and, according to kristaps@, speeding it up
2009-09-21sync to 1.9.5: make terminal_*, tree_* and out_* functions return void,Ingo Schwarze
making the code simpler
2009-09-21sync to 1.9.5: remove TERMP_STYLE bit field in favour of recursion-friendlyIngo Schwarze
integer flags, simplifying and shortening the code
2009-09-21Use KEYC_NONE constant instead of 0 on init.Nicholas Marriott
2009-09-21Nuke -i option which isn't used anymore.Nicholas Marriott
2009-09-21Use option print function for info messages as well.Nicholas Marriott
2009-09-21Move common code from show-options and show-window-options into a function.Nicholas Marriott
2009-09-21zap trailing whitespace;Jason McIntyre
2009-09-21Drop tiny union from option struct.Nicholas Marriott
2009-09-21Key options were implemented as a number so these struct members are unused.Nicholas Marriott
2009-09-20run-shell command to run a shell command without opening a window, sendingNicholas Marriott
stdout to output mode.
2009-09-20Nuke unused variables and fix stupid error message.Nicholas Marriott
2009-09-20Move some common and untidy code for window link/unlink into generic functionsNicholas Marriott
instead of duplicating it in move/link window..
2009-09-20Regularise some fatal messages.Nicholas Marriott
2009-09-19if pipe_read() returns 0 we are at EOF and the structure describingJacob Meuser
the pipe will be free()d, so don't try to access the structure. ok ratchov
2009-09-19if the device is dying, don't try to stop it, otherwise this wouldAlexandre Ratchov
trigger the code to free() it, which will try to stop it, and so on
2009-09-19tag the device as stopped even if sio_stop() failed (ie. deviceAlexandre Ratchov
is disconnected). This way, when it's ``file'' structure is free()'d, we don't try to stop it again.
2009-09-18now in sync with version 1.9.2Ingo Schwarze
2009-09-18sync to 1.9.2: Add .UC libman macro for compatibility, has no effect.Ingo Schwarze
Correct .UC and .DT to not print their arguments. Document that .UC and .DT should not be used.
2009-09-18fix typo (overriden -> overridden); from jmc@; included in 1.9.2Ingo Schwarze
2009-09-18sync to 1.9.2: non-printable characters in macro names are errors;Ingo Schwarze
from joerg at netbsd dot org
2009-09-18like login(1), back off password guesses after login-backoff; andMartynas Venckus
reset cnt after login-tries. tweak & ok millert@
2009-09-18New option, set-titles-string, to allow the window title to be specified (asNicholas Marriott
for status-left/right) if set-titles is on. Also only update the title when the status line is being redrawn.
2009-09-16Rather than constructing an entire termios struct from ttydefaults.h, just letNicholas Marriott
forkpty do it and then alter the bits that should be changed after fork. A little neater and more portable.
2009-09-16Allow -maxdepth 0; noticed by bluhm@Todd C. Miller
2009-09-15Enclose repeated buffer draining code in a new msgbuf_drain()Jacek Masiulaniec
function, which is additionally exported for use by others. From nicm@, who reminded me that tmux is now using buffer.c, too.
2009-09-15Stick line length to what is actually used (removing an optimization thatNicholas Marriott
allowed it to be bigger), and use clear line/EOL sequences rather than spaces in copy/scroll mode. This fixes xterm copy/paste from tmux which treats trailing spaces differently from clearing a line with the escape sequences. Reported by martynas@.
2009-09-15The default terminal size should be 80x24, not 80x25.Nicholas Marriott
2009-09-14Nuke unused server_client_index function, pointed out by martynas@.Nicholas Marriott
2009-09-12Doh, trim variables unused now.Nicholas Marriott
2009-09-12Tidy some common code for destroying sessions into a new function.Nicholas Marriott
2009-09-12tmux always outputs \177 for backspace, so explicitly set VERASE to \177 forNicholas Marriott
new windows.
2009-09-11- adjust usage() to fit in 80 columnsStuart Henderson
- re-order client options in usage() to match server options and the manual, as suggested by jmc. ok jmc@
2009-09-10Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott
palette by setting "colour0" to "colour255".
2009-09-10Correct error message when fclose() fails. From Brian Poole.Todd C. Miller
2009-09-08Move connect code out ouf clientloop into own function. This code can beClaudio Jeker
reused by the upcomming UDP mode. OK henning
2009-09-08There is no need for two getaddrinfo implementations for client and server.Claudio Jeker
Merge them and make the client code look more like the server one. OK henning@
2009-09-07While the display-panes indicator is on screen, make the number keys select theNicholas Marriott
pane with that index.
2009-09-07Reference count clients and sessions rather than relying on a saved index forNicholas Marriott
cmd-choose-*.
2009-09-07Tiny cleanup.Matthias Kilian
ok nicm@
2009-09-07Give each paste buffer a size member instead of requiring them to beNicholas Marriott
zero-terminated.
2009-09-07Permit embedded colour and attributes in status-left and status-right using newNicholas Marriott
#[] special characters, for example #[fg=red,bg=blue,blink].
2009-09-06check for unitialized elements when accessing an array; from Simon Kellner.Otto Moerbeek
2009-09-05Only redraw all clients once when the backoff timer expires rather than everyNicholas Marriott
second all the time. Reported by Simon Nicolussi.
2009-09-05- properly free fqdn if it gets reassigned due to multiple -h optionsTobias Stoeckmann
- fixed comment typos with input by and ok millert, otto
2009-09-05Fixed typo in comment.Tobias Stoeckmann
ok millert
2009-09-04Tidy main and make it a bit easier to read.Nicholas Marriott
2009-09-04Tell the user when sleeping due to password backoff.Nicholas Marriott
2009-09-03Correctly escape spaces in the Erlang 4.2/4.3 magic.Stuart Henderson
Fixes printing on Tuesdays from some applications. ok ian@ (yes really - http://catless.ncl.ac.uk/Risks/25.77.html#subj14)