summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-01-23don't need to define debugging 0 anymoreTed Unangst
2015-01-23Wonders of roff(7): Integer numbers in numerical expressions can carryIngo Schwarze
scaling units, and some manuals (e.g. in devel/grcs) actually use that, so let's support it. Missing feature reported by naddy@.
2015-01-22Slightly improve \w width measurements:Ingo Schwarze
Count special characters with the same width as ASCII characters and treat all other escape sequences as if they had a width of 0. Certainly not perfect, but a bit better. For example, GNU RCS ci(1) needs this; reported by naddy@.
2015-01-22Traditional roff(7) explicitly allows certain control charactersIngo Schwarze
in the input stream (SOH, STX, ETX, ENQ, ACK, BEL, BS) for specific purposes (leaders, backspace, delimiters, .tr), but making sure these don't leak through to the output is tricky, so mark them as unsupported for now.
2015-01-22heirarchy -> hierarchy;Jason McIntyre
2015-01-22Provide a warning about chroot misuses (which sadly, seem to have becomeTheo de Raadt
quite popular because shiny). sshd cannot detect/manage/do anything about these cases, best we can do is warn in the right spot in the man page. ok markus
2015-01-22Don't let a failing mparse_open() clobber the filename pointer;Ingo Schwarze
fixes error message content and a use after free for .so with non-existent target when -Wall or -Tlint is given.
2015-01-22Processing $OpenBSD$ as well as sccs's @(#) is an OpenBSD extension, andKenneth R Westerback
should stop displaying the line at the 2nd '$'. Clarify intended behaviour in man page. ok millert@ beck@ deraadt@
2015-01-22Only allow the -r flag when sending a message; from Martin BrandenburgTodd C. Miller
2015-01-22Recognise 'F'/'f' constant suffix for single precision floating point.Jonathan Gray
Prevents indent from inserting a space which broke the build of the development version of Mesa. ok millert@ deraadt@
2015-01-21Do not need sys/cdefs.hTheo de Raadt
2015-01-21Rudimentary implementation of the roff(7) \o escape sequence (overstrike).Ingo Schwarze
This is of some relevance because the pod2man(1) preamble abuses it for the icelandic letter Thorn, instead of simply using \(TP and \(Tp. Missing feature found by sthen@ in DateTime::Locale::is_IS(3p).
2015-01-21Improve overstriking. When overstriking a wider character with aIngo Schwarze
narrower one, center the latter horizontally. After a group of characters printed in the same position, advance by the width of the widest one among them.
2015-01-21In options-table.c r1.51 an extra space was added to the default status-right,Stuart Henderson
overrunning status-right-length with long window titles. Allow for the extra space so the last digit of the year isn't lost. ok nicm@
2015-01-21fix macro breakage and update usage();Jason McIntyre
2015-01-21Simplify internals and rewrite file header parsing code:Alexandre Ratchov
- remove -M, -t, -w, -C, -x flags that don't make sense anymore - make "-j off" the default (sndiod already does the job) - don't limit the number of played/recorded files. - add support for floating-point encoded files. - add support for apple .aiff and sun/next .au files
2015-01-21Assume NFS_CHECK and RO_CHECK are defined.Philip Guenther
We only need the dev_t and not the entire struct stat in mntinfo. Delete some superfluous casts.
2015-01-21Reduce opt_t from long to int.Philip Guenther
Debug message consistency: format opts with %#x and modes with %#04o
2015-01-21Remove unsafe micro-optimization of *bit test*Philip Guenther
2015-01-21pass empty request lines through to tbl(7); sometimes, they end a layoutIngo Schwarze
2015-01-21blank lines in tables do not need special handling; simplifies codeIngo Schwarze
and reduces groff/mandoc differences in base by about 1%
2015-01-20Reduce use of <sys/param.h> and transition to <limits.h> throughout.Theo de Raadt
ok djm markus
2015-01-20tweak previous;Jason McIntyre
2015-01-20Split the -Werror message level into -Werror (broken manual, probablyIngo Schwarze
using mandoc is better than using groff) and -Wunsupp (manual using unsupported low-level roff(7) feature, probably using groff is better than using mandoc). Once this feature is complete, it is intended to help porting, making the decision whether to USE_GROFF easier. As a first step, distinguish four classes of roff(7) requests: 1. Supported (currently 24 requests) 2. Currently ignored because unimportant (120) -> no message 3. Ignored for good because insecure (14) -> -Werror 4. Currently unsupported (68) -> these trigger the new -Wunsupp messages
2015-01-20i wrote thisTed Unangst
2015-01-20kex_setup errors are fatal()Markus Friedl
2015-01-20tweak previous;Jason McIntyre
2015-01-20Adjust <sys/param.h> comments regarding use of use of MSIZE, orTheo de Raadt
delete <sys/param.h> if now possible ok guenther
2015-01-20Make the man(1) and apropos(1) options -s and -S much less expensive:Ingo Schwarze
Do not append an SQL clause looking into the large "keys" table. Instead, filter the result of the SQL query in buildnames() where equivalent data from the much smaller "mlinks" table is already available for free. This is relevant because man(1) uses the equivalent of "-S ${MACHINE}" by default since main.c rev. 1.122, to make sure that manuals for the current architecture are shown. With many ports installed, this patch can speed up man(1) by a factor of more than a hundred. Slowness reported by Theo Buehler <theo at math dot ethz dot ch>, thanks!
2015-01-20Add support for the "-r fromaddr" flag now that we don't supportTodd C. Miller
sendmail flags on the command line. Also allow "from" to be set in mailrc. Use sendmail's "-t" flag when executing sendmail instead of specifying the list of recipients in argv. The "-f" flag will be used to set the from address if specified.
2015-01-20Revert some $OpenBSD$ additions about which there are doubts.Kenneth R Westerback
Suggested by deraadt@
2015-01-20typo in comment ;) ok nicmStuart Henderson
2015-01-20Split out from rdist/defs.h the client-only and server-only bits intoPhilip Guenther
rdist/client.h and rdistd/server.h Only put #includes in .h files that are necessary for the .h to be used; all other #includes go in the .c files Move all extern variable declarations to the .h files, renaming local variables to avoid shadowing Replace me_type member of mntent_t with an "is NFS?" flag bit
2015-01-20Support blinking cursor mode, both the xterm CSI ?12 h/l and (theNicholas Marriott
backwards) screen CSI 34 h/l. From Guanpeng Xu.
2015-01-20make this compile with KERBEROS5 enabledDamien Miller
2015-01-20fix hostkeys in agent; ok markus@Damien Miller
2015-01-20We all have syslog() now; assume LOG_PID and LOG_DAEMONPhilip Guenther
2015-01-20Move MF_* to message.c tooPhilip Guenther
2015-01-20Move struct distoptinfo into distopt.c, killing the DISTOPTINFO typedefPhilip Guenther
Move struct msgtype and msgfacility into message.c, killing the MSGTYPE and MSGFACILITY typedefs Make getdistopt() static to distopt.c
2015-01-20Don't use utime(), so don't need <utime.h>Philip Guenther
2015-01-20Missing $OpenBSD$'s.Kenneth R Westerback
ok deraadt@
2015-01-20SELECT_FD_TYPE is obsoletePhilip Guenther
2015-01-20Move #include <syslog.h> to the one file that needs itPhilip Guenther
2015-01-19switch ssh-keyscan from setjmp to multiple ssh transport layer instancesMarkus Friedl
ok djm@
2015-01-19add experimental api for packet layer; ok djm@Markus Friedl
2015-01-19Missing initialization; tjenahej@speedmail.seMiod Vallat
2015-01-19store compat flags in struct ssh; ok djm@Markus Friedl
2015-01-19adapt kex to sshbuf and struct ssh; ok djm@Markus Friedl
2015-01-19move dispatch to struct ssh; ok djm@Markus Friedl
2015-01-19update packet.c & isolate, introduce struct sshMarkus Friedl
a) switch packet.c to buffer api and isolate per-connection info into struct ssh b) (de)serialization of the state is moved from monitor to packet.c c) the old packet.c API is implemented in opacket.[ch] d) compress.c/h is removed and integrated into packet.c with and ok djm@