summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-06-12Remove old unused prototype, from Ilya Kaliman.Nicholas Marriott
2016-06-11don't use specified twice in a sentence, noticed by jmcTed Unangst
2016-06-11clarify some wordingTed Unangst
2016-06-11specify that default is deny if no rule matchesTed Unangst
2016-06-11expand contractionsTed Unangst
2016-06-11tighten up some wordingTed Unangst
2016-06-10Spelling error (incrased -> increased), from Josh Soref.Nicholas Marriott
2016-06-10Simplify the sample rate converter, no behaviour change.Alexandre Ratchov
2016-06-08removed unused fields of resamp structureAlexandre Ratchov
2016-06-08use getprognameTed Unangst
2016-06-08Back out rev 1.28 "Check min and max sizes sent by the client" change.Darren Tucker
It caused "key_verify failed for server_host_key" in clients that send a DH-GEX min value less that DH_GRP_MIN, eg old OpenSSH and PuTTY. ok djm@
2016-06-07revert recent changes to allow setenv. everybody now has an idea aboutTed Unangst
how to do things better, so let's take a step back and reconsider.
2016-06-07merge setenv feature into keepenv. less grammar, more better.Ted Unangst
minimal changes to implementation for now, but some refinement to the way in which the new environment is constructed would be nice. ok djm
2016-06-07Add -g and -p options to control device and file start position.Alexandre Ratchov
2016-06-07ktrace support for pollfd[] arraysTheo de Raadt
ok guenther
2016-06-07Add resamp_getcnt() routine to calculate the exact number of samplesAlexandre Ratchov
that would be consumed and produced by the sampler rate converter. Use it to avoid partial samples that are not properly handled. Fixes last samples of certain files causing aucat to abort.
2016-06-07"Well finally everyone can see that the shit is really shitty."Ted Unangst
2016-06-07add a hack to avoid printing the long string format for times in the 70s.Ted Unangst
this is usually a result of a timestamp which hasn't been identified as "relative" and decoding them to precise dates long in the past is a distraction. (eagerly awaiting a cleaner, better diff to do the same.)
2016-06-06Much faster (and smaller) method of mapping RGB colour to an xterm(1)Nicholas Marriott
colour, from Avi Halachmi.
2016-06-06Cache selected state so that cells going from selected to unselected are notNicholas Marriott
skipped, reported by Omar Sandoval.
2016-06-06Insert new panes after the pane being split in the list rather thanNicholas Marriott
always after the active pane. This is more sensible when doing it with commands rather than keys.
2016-06-06Allow #[] in window-status-separator.Nicholas Marriott
2016-06-06it's typedef, not typdef.Tobias Ulmer
typo found by Piotr Stefaniak
2016-06-05In netstat, display correct counter for 'no basic MCS set' error.Stefan Sperling
ok sthen@ tb@
2016-06-05spelling fix;Jason McIntyre
2016-06-05add a doas.conf setenv directive that allows setting environmentDamien Miller
variables explicitly and by copying existing environment variables of a different name. E.g. permit nopass setenv { PS1=$SUDO_PS1 FOO=bar } keepenv :wheel ok tedu@ benno@
2016-06-03tweak previous;Jason McIntyre
2016-06-03Allow ExitOnForwardFailure and ClearAllForwardings to be overridden whenDarren Tucker
using ssh -W (but still default to yes in that case). bz#2577, ok djm@.
2016-06-03Move the host and port used by ssh -W into the Options struct.Darren Tucker
This will make future changes a bit easier. ok djm@
2016-06-02allow printing timestamps relative to beginnging of trace, -RT. ok bennoTed Unangst
2016-06-02remove forgotten debug printfsAlexandre Ratchov
2016-06-02set exit status to 1 if -n is used without -i and -oAlexandre Ratchov
2016-06-02Let netcat support the use of service names instead of port numbers.Bob Beck
based on a diff from Andras Farkas <deepbluemistake@gmail.com> ok deraadt@
2016-06-01instead of using the makefile to override ancient defaults in the code,Ted Unangst
change the code to reflect modern reality. ok deraadt millert natano
2016-06-01update currency exchange rates;Jason McIntyre
2016-06-01Check min and max sizes sent by the client against what we support beforeDarren Tucker
passing them to the monitor. ok djm@
2016-05-31Ensure that the client's proposed DH-GEX max value is at least as bigDarren Tucker
as the minimum the server will accept. ok djm@
2016-05-31Pass hr:min:sec:frame.cent to dev_mmcloc() directly and remove theAlexandre Ratchov
useless intermediate conversion from and to 2400-th of seconds.
2016-05-31To store MMC position, use samples (at device rate) as time unitsAlexandre Ratchov
instead of 2400-ths of second. No behaviour change.
2016-05-30Backout rev. 1.43 for now.Ingo Schwarze
The function update_progress_meter() calls refresh_progress_meter() which calls snmprintf() which calls malloc(); but update_progress_meter() acts as the SIGALRM signal handler. "malloc(): error: recursive call" reported by sobrado@.
2016-05-30Make sed use the new REG_STARTEND | REG_NOTBOL combination. This fixes a beginMartijn van Duren
of word mismatch as reported by jsg@. Discussed with otto@ and others early on, earlier version tested in ports build by aja@ OK millert@ Few readability tweaks and OK schwarze@
2016-05-30Even when only writing an unescaped character, the dst buffer may need toIngo Schwarze
grow, or it would be overrun; issue found by tb@ with malloc.conf(5) 'C'. While here, reserve an additional byte for the terminating NUL up front such that we don't have to realloc() later just for that. OK tb@
2016-05-30Fix two rare edge cases:Ingo Schwarze
1. If vasprintf() returns < 0, do not access a NULL pointer in snmprintf(), and do not free() the pointer returned from vasprintf() because on some systems other than OpenBSD, it might be a bogus pointer. 2. If vasprintf() returns == 0, return 0 and "" rather than -1 and NULL. Besides, free(dst) is pointless after failure (not a bug). One half OK martijn@, the other half OK deraadt@; committing quickly before people get hurt.
2016-05-30Cache the window styles and do not look up the window-style optionsNicholas Marriott
unless they have changed.
2016-05-30Do not draw character to screen if it has not changed, and do not saveNicholas Marriott
last character if it won't be used. This (and last few commits) prompted by a report from Hubert depesz Lubaczewski.
2016-05-30Send two cub1 instead of using cub for moving the cursor two left. ThisNicholas Marriott
is normally better because using cub1 will be ^H^H (so two bytes) but cub would be ^[[2D (four).
2016-05-29Eat all blanks between the VARIABLE keywords and the definition,Todd C. Miller
not just the first one. Otherwise we end up storing the blanks. Now the file generated by mklocale(1) is the same regardless of whether or not the input is sent through the C preprocessor. OK deraadt@ jca@ schwarze@
2016-05-28Fix pledge violation with -P s used and we need to supply a passwordBob Beck
for an http proxy - we need tty in this case. Found and fixed by Anthony Coulter <bsd@anthonycoulter.name>. ok tb@
2016-05-28Fix nc -verbose mode when used on a unix domain socket.Bob Beck
Noticed by and a modified version of fix from <attila@stalphonsos.com>
2016-05-28Test if stdin is a terminal before resetting the tty state.Martijn van Duren
Diff supplied by Kai Antweiler. OK semarie@ and deraadt@