summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-09-27Have cvs_file_walkdir() ignore CVS/ directories when walking a repository tree.Joshua Elsasser
This fixes r* commands such as rlog against a repository which has somehow ended up containing CVS/Entries.Static files. ok nicm@ guenther@
2010-09-26new sentence, new line;Jason McIntyre
2010-09-26when performing an "ls" in columnated (short) mode, only callDamien Miller
ioctl(TIOCGWINSZ) once to get the window width instead of per- filename
2010-09-26Two new options:Nicholas Marriott
- server option "exit-unattached" makes the server exit when no clients are attached, even if sessions are present; - session option "destroy-unattached" destroys a session once no clients are attached to it. These are useful for preventing tmux remaining in the background where it is undesirable and when using tmux as a login shell to keep a limit on new sessions.
2010-09-26If an explicit scope is still open at the end of an input file,Ingo Schwarze
report an ERROR: We can still render the page by just closing the open scope, but it is likely that information will be missing or document structure mangled. Before, man(7) only reported a WARNING (which is dangerous because we cannot be sure rendering is correct) and mdoc(7) ran into FATAL (which is too drastic, there is no reason not to show what we have). While here, add a few explicit casts to appease lint. "looks good" kristaps@
2010-09-26sync to bsd.lv:Ingo Schwarze
do not talk about \s, it is ignored anyway do not .Xr groff(1) any longer, just talk about GNU troff because in the long run, groff may not even be installed
2010-09-26consolidate all enclosure opening and closing functionsIngo Schwarze
to help code comprehension and reduce code size also remove redundant TERMP_NOSPACE here and there from kristaps@
2010-09-26Modify the permissions on the socket when adding or removing +x to showNicholas Marriott
attached sessions, rather than replacing them.
2010-09-26no punctuation after .%* outside .RsIngo Schwarze
in .Rs, mark full stops after .%* as end of a sentence from kristaps@
2010-09-26add a "mips64" architecture; requested by/ok miodJason McIntyre
2010-09-25detach-on-destroy is a session option, not server.Nicholas Marriott
2010-09-25make use of new glob(3) GLOB_KEEPSTAT extension to save extra serverDamien Miller
rountrips to fetch per-file stat(2) information.
2010-09-24-M and -N are posix extensions too; from Joachim SchipperJason McIntyre
2010-09-24Add timingsafe_bcmp(3) to libc, mention that it's already in theMatthew Dempsky
kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@
2010-09-24add a little padding to make SYNOPSIS line up nicely;Jason McIntyre
2010-09-24Now that HW_DISKNAMES returns xx0: or xx0:uid entries, we must truncateTheo de Raadt
the : and uid components out -- otherwise these two programs will work poorly.
2010-09-23When the HEAD of an .Nm block in the SYNOPSIS might be widerIngo Schwarze
than the column containing it, the TERMP_HANG flag is required, but avoid the flag when we know that the HEAD is shorter, because in that case, the flag might ruin the alignment. Problem originally reported by jmc@, who also spotted a regression in an earlier version of this patch. "feel free to commit" kristaps@
2010-09-23Count trailing escaped blanks correctly;Ingo Schwarze
those ruined the alignment of columns. Tested by jmc@, and kristaps@ agrees with the direction.
2010-09-23Kill tn3270.Paul Irofti
Okay deraadt@, millert@ and all around general approval.
2010-09-23Unlink tn3270 from the build.Paul Irofti
Okay deraadt@, millert@ and all around general approval.
2010-09-23Add cvs_mkdir() for recursive directory creation on import, based on aNicholas Marriott
diff from Michael W Bombardieri in PR 6398. tested by & ok jasper
2010-09-23Plug memory leak in rcs_getrev, from zinovik.Nicholas Marriott
ok me stsp
2010-09-23"British defeat the French at the Plains of Abraham" was 1759, not 1788;Jason McIntyre
from Douglas Berry, freebsd pr misc/150504
2010-09-23add KexAlgorithms to the -o list;Jason McIntyre
2010-09-23add [-l limit] to usage();Jason McIntyre
2010-09-23tweak the mclgeti algorithm to behave better under load.David Gwynne
instead of letting hardware rings grow on every interrupt, restrict it so it can only grow once per softclock tick. we can only punish the rings on softclock ticks, so it make sense to only grow on softclock tick boundaries too. the rings are now punished after >1 lost softclock tick rather than >2. mclgeti is now more aggressive at detecting livelock. the rings get punished by an 8th, rather than by half. we now allow the rings to be punished again even if the system is already considered in livelock. without this diff a livelocked system will have its rx ring sizes scale up and down very rapidly, while holding the rings low for too long. this affected throughput significantly. discussed and tested heavily at j2k10. there are still some games with softnet we can play, but this is a good first step. "put it in" and ok deraadt@ ok claudio@ krw@ henning@ mcbride@ if we find out that it sucks we can pull it out again later. till then we'll run with it and see how it goes.
2010-09-22add an option per-read/write callback to atomicioDamien Miller
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism add a bandwidth limit option to sftp(1) using the above "very nice" markus@
2010-09-22Kill msgs. Noone uses it, and it has a longjmp in it.Theo de Raadt
Lots of agreement.
2010-09-22nextmsg could be used uninitialized as well.Paul Irofti
``Go ahead, its free'' deraadt@.
2010-09-22Initialise firstmsg so we do not have random number whenlum
bounds file is empty. ok deraadt@ henning@
2010-09-22ssh.1: add kexalgorithms to the -o listJason McIntyre
ssh_config.5: format the kexalgorithms in a more consistent (prettier!) way ok djm
2010-09-22add a KexAlgorithms knob to the client and server configuration to allowDamien Miller
selection of which key exchange methods are used by ssh(1) and sshd(8) and their order of preference. ok markus@
2010-09-21When calculating string lengths, resolve escape sequences and useIngo Schwarze
their actual lengths. Will improve vertical alignment in some uncommon situations, for example when escape sequences occur in list or column width strings or in .Nm block arguments in the SYNOPSIS. From kristaps@.
2010-09-20remove remaining pod2man escapes, mandoc now uses the standard preamble;Ingo Schwarze
from kristaps@
2010-09-20Format multiple authors (.%A) in the same way as groff:Ingo Schwarze
Two authors with "and", but without a comma. Three or more with commata, and an "and" before the last one. From kristaps@.
2010-09-20Make .Pp .Lp .br not FATAL when having arguments;Ingo Schwarze
From kristaps@
2010-09-20"atomically" create the listening mux socket by binding it on a temoraryDamien Miller
name and then linking it into position after listen() has succeeded. this allows the mux clients to determine that the server socket is either ready or stale without races. stale server sockets are now automatically removed ok deraadt
2010-09-20oops! missing quote in previous;Jason McIntyre
2010-09-20missing #includeDamien Miller
2010-09-20check that received values are smaller than the group size in theDamien Miller
disabled and unfinished J-PAKE code. avoids catastrophic security failure found by Sebastien Martini
2010-09-20install a SIGCHLD handler to reap expiried child process; ok markus@Damien Miller
2010-09-19Shorten text pointing from -X to -print0.Ingo Schwarze
Add pointer from -print0 to xargs(1). Add an EXAMPLE to demonstrate \( ... -or ... \) -print0. Stop advertising -print | xargs, which is dangerous. Add a CAVEAT about passing find(1) output to other programs. Mostly from joachimschipper dot nl; using feedback from jmc@ and sthen@, and tweaked myself; ok jmc@
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-19- remove BUGS: it was out of dateJason McIntyre
- better Nd; from schwarze ok schwarze
2010-09-18claim that we are pkg-config 0.22; ok ajacoutot@ ckuethe@Stuart Henderson
2010-09-18add forgotten ``return NULL'' when a .wav file fails to get theAlexandre Ratchov
device with the required mode
2010-09-15fix SYNOPSIS;Jason McIntyre
2010-09-13Parse and ignore the \k, \o, \w, and \z roff escapes, and recursivelyIngo Schwarze
ignore embedded escapes and mathematical roff subexpressions. In roff copy mode, resolve "\\" to '\'. Allow ".xx\}" where xx is a macro to close roff conditional scope. Mandoc now handles the special character definitions in the pod2man(1) preamble, so remove the explicit redefinitions in chars.c/chars.in. From kristaps@. I have checked that this causes no relevant change to the Perl manuals. The only change introduced is that some non-ASCII characters rendered incorrectly before are now rendered incorrectly in a different way. For example, e accent aigu was "e", now is "e'" and c cedille was "c", now is "c,".
2010-09-13Prevent .Pp and .Lp from looping endlessly on punctuation.Ingo Schwarze
Fix for .Pp from kristaps@, i applied the same to .Lp. Bug reported by espie@.
2010-09-11mention RFC 5656 for ECC stuffDamien Miller