summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-08-16backout previous temporarily; discussed with deraadt@Damien Miller
2010-08-12OpenSSL_add_all_algorithms is the name of the function we have a man pageTed Unangst
for, so use that. ok djm
2010-08-12some inconsequential cleanups. ok deraadtTed Unangst
2010-08-12close any extra file descriptors inherited from parent at start andDamien Miller
reopen stdin/stdout to /dev/null when forking for ControlPersist. prevents tools that fork and run a captive ssh for communication from failing to exit when the ssh completes while they wait for these fds to close. The inherited fds may persist arbitrarily long if a background mux master has been started by ControlPersist. cvs and scp were effected by this. "please commit" markus@
2010-08-12make fgetln fixups look like the man page. correct a pair of brances andTed Unangst
some other style tweaks
2010-08-11plug several resource leaksJasper Lievisse Adriaanse
help and ok millert@ (ok deraadt@ for an earlier version of this diff)
2010-08-11Do not allow duplicate session names to be created, reported by DominikNicholas Marriott
Honnef, patch from Thomas Adam.
2010-08-11Handle failure to change mode, to avoid dying when switching into copyNicholas Marriott
mode when already in a different mode. Reported by "Florian".
2010-08-11Usage string fixes from Ben Boeckel.Nicholas Marriott
2010-08-11Treat trying to link or move to the same window as an error to avoidNicholas Marriott
removing it accidentally.
2010-08-11Change the way backoff works. Instead of stopping reading from the ptyNicholas Marriott
when the client tty backs up too much, just stop updating the tty and only update the internal screen. Then when the tty recovers, force a redraw. This prevents a dodgy client from causing other clients to go into backoff while still allowing tmux to be responsive (locally) when seeing lots of output.
2010-08-11Show which pane is active in the list-panes output, suggested by DominikNicholas Marriott
Honnef.
2010-08-10s/Usage/usage/Igor Sobrado
2010-08-10add a description for bsd.sp where appropriate; while here, writeIgor Sobrado
"multiprocessor" in a consistent way. written with lots of good advice from jmc@, who noted that changing hier(7) was not enough and carefully reviewed this diff. ok jmc@
2010-08-09Match -m prompt string in man page with code. From Daniel MalamentRay Lai
danielm at bluetiger dot net, PR 6234. OK millert
2010-08-09Remove extra `.' from -m prompt string. From Daniel Malament danielmRay Lai
at bluetiger dot net, PR 6234. OK millert
2010-08-08use the same template for all FILES sections; i.e. -compact/.Pp where weJason McIntyre
have multiple items, and .Pa for path names;
2010-08-08crank to 5.6Damien Miller
2010-08-08convert some of the weirder displays into lists, to avoid mangling;Jason McIntyre
2010-08-07Groff allows the initial macro on a line to be delimited by a spaceIngo Schwarze
of by a tab; so allow the tab in mandoc, too. Bug found by me, fix by kristaps@, "sure" deraadt@.
2010-08-07In -Thtml output, preserve blank lines at the end of .Bd -literal.Ingo Schwarze
Patch from kristaps@, analoguous to mdoc_term.c rev. 1.100. With permission from deraadt@ to still fix bugs in mandoc.
2010-08-05Fix a trio of bugs in the local/remote window calculation for datagramDamien Miller
data channels (i.e. TunnelForward): Calculate local_consumed correctly in channel_handle_wfd() by measuring the delta to buffer_len(c->output) from when we start to when we finish. The proximal problem here is that the output_filter we use in portable modified the length of the dequeued datagram (to futz with the headers for !OpenBSD). In channel_output_poll(), don't enqueue datagrams that won't fit in the peer's advertised packet size (highly unlikely to ever occur) or which won't fit in the peer's remaining window (more likely). In channel_input_data(), account for the 4-byte string header in datagram packets that we accept from the peer and enqueue in c->output. report, analysis and testing 2/3 cases from wierbows AT us.ibm.com; "looks good" markus@
2010-08-04exit(2) on xcalloc failure. From Daniel Dickman <didickman () gmailRay Lai
! com>, thanks! OK deraadt
2010-08-04switch back to kqueue for now, since (a) kqueue has been fixed to dealTheo de Raadt
with strange devices and (b) since there appears to be a bull in the poll code in libevent as well... requested by nicm who is away
2010-08-04In .Bd -literal, break the output line after the last element of eachIngo Schwarze
input line, not after the first element. Since free-form text lines only have a single element in literal mode, this is only relevant for macro lines inside literal displays, and only for those containing more than one macro. Fixes e.g. awk(1) and boot_config(8). Note this fix differs from what kristaps@ committed to bsd.lv because those changes introduce regressions with respect to blank lines in literal mode. With permission from deraadt@ to still fix bugs in mandoc.
2010-08-04Add missing #ifndef YY_NO_INPUT around the input() function whenTodd C. Miller
"%option noinput" is specified. OK deraadt@
2010-08-04clean for -WuninitializedDamien Miller
2010-08-04Support CA keys in PKCS#11 tokens; feedback and ok markus@Damien Miller
2010-08-04commited the wrong version of the hostbased certificate diff; thisDamien Miller
version replaces some strlc{py,at} verbosity with xasprintf() at the request of markus@
2010-08-04enable certificates for hostbased authentication, from Iain Morgan;Damien Miller
"looks ok" markus@
2010-08-04tighten the rules for certificate encoding by requiring that optionsDamien Miller
appear in lexical order and make our ssh-keygen comply. ok markus@
2010-08-04Remove mentions of weird "addr/port" alternate address format for IPv6Damien Miller
addresses combinations. It hasn't worked for ages and we have supported the more commen "[addr]:port" format for a long time. ok jmc@ markus@
2010-08-03that had to be addedHenning Brauer
2010-08-02Handle USB_GET_REPORT, USB_GET_REPORT_DESC, USB_GET_REPORT_ID andMiod Vallat
USB_SET_REPORT ioctls in ukbd and ums. This allows usbhidctl to be used on these devices e.g. to dump the report descriptor of troublesome models. ok deraadt@
2010-08-02Only open with O_RDWR if we are actually chaging a report descriptor, otherMiod Vallat
operations only need O_RDONLY. ok blambert@ deraadt@
2010-08-01Move the new mdoc(7) manual written by kristaps@, replacing the old oneIngo Schwarze
which had much less information, such that the new one gets installed. No change to the build system required, no text change in this commit. Doing the big move early even though a few more improvements will follow. The duplicate information in mdoc.samples(7) will be cleaned up post-release. ok jmc@, and kristaps@ agreed with the plan, too
2010-08-01Make parsing of /etc/remote work again (some of the options were theNicholas Marriott
wrong type), try to make it clearer what comes from where, and add a few XXX. Currently there is a mess of default options set in vinit(), default options set in getremote(), stuff read from /etc/remote and options read from the command-line, and there remains the problems with leftover options from rotation. This all needs to be sorted out properly later. Noticed while trying to find a possible problem reported by miod.
2010-08-01change buf_release() prototype accordingly to buf.czinovik
unbreaks opencvs build
2010-08-01change returning type to void like it is done in OpenRCS:buf_release()zinovik
ok nicm@
2010-08-01don't rely on mbuf.h to pull in pool.h here eitherBret Lambert
ok miod@
2010-08-01fix use of uninitialized variable.Charles Longeau
reported by gcc. ok canacar@
2010-08-01remove unused variableCharles Longeau
ok thib@
2010-08-01Sync to bsd.lv:Ingo Schwarze
State that we parse and ignore \s and \m font size and colour control sequences, and remove the detailed, irrelevant documentation.
2010-07-31Correct Copyright lines in the rarely touched files:Ingo Schwarze
* add missing years (only where substantial changes were committed) * update Kristaps' email address in the remaining places No code changes.
2010-07-31Major cleanup (but there is still more to come):Ingo Schwarze
* rewrite .An, .Bd, .Bk, .Bl, .Ex descriptions * correct "parsable" to "parsed" * and various formatting and wording tweaks This commit includes a patch from kristaps@ explaining empty .Dd. Feedback and OK jmc@ and kristaps@.
2010-07-31Merge bsd.lv version 1.10.5: last larger batch of bug fixes before release.Ingo Schwarze
NOT including Kristaps' .Bd -literal changes which cause regressions. Features: * -Tpdf now fully working Bugfixes: * proper handling of quoted strings by .ds in roff(7) * allow empty .Dd * make .Sm start no-spacing after the first output word * underline .Ad * minor fixes in -Thtml and some optimisations in terminal output.
2010-07-31introduce macro SIZE_LEFT and function buf_grow() from OpenRCSzinovik
buf_grow() replaces macro BUF_GROW() ok nicm@, ray@
2010-07-31adds a remark about how printing routing labels to -r, it is theIgor Sobrado
more logical place to find this information; improve description for the -v option (stolen from NetBSD). written with excellent advice from bluhm@ and jmc@. ok jmc@
2010-07-31When looking for revision, break out of the loop at the end rather thanNicholas Marriott
looping forever. This prevents the server going into an infinite loop when the repository is behind the checkout, but the behaviour is not correct (it is an error rather than ignoring the file), so mark with an XXX for now. Some underlying OpenCVS functions are too fatal()-happy and will probably need to be changed in order to fix this properly. Problem reported by sthen. ok xsa ray
2010-07-31Checking for -1 as an overflow value is pretty absurd. ReturningRay Lai
the unix epoch is equally absurd. Just return Start for now. We may add overflow checks in the future. OK xsa nicm