summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-11-05Use include files "header.html" and "footer.html" rather than aIngo Schwarze
compiled-in string. This is not a security risk, we read the file manpath.conf from the same directory, anyway. No error handling is needed; even if the files are absent, that's not an error. This is more flexible without causing complication of the code or the user interface. It helps the upcoming revamp of the online manual pages on man.NetBSD.org. Based on an idea by Jean-Yves Migeon <jeanyves dot migeon at free dot fr>, but implemented in a much simpler way.
2015-11-05Make our initial pledge stricter once we figured out in which mode weFlorian Obser
are running. In batch mode we are only reading from stdin and writing to stdout. If no file is specified we are reading from stdin, writing to stdout and need to control the tty for readpassphrase. OK deraadt@ on an earlier version some time ago.
2015-11-05Add blank lines around pledge call.mmcc
2011-09-16Import of Less 444Alexandr Shadchin
ok nicm@
2003-04-13Stock less-390 with some unneeded DOS/Windoze files removedTodd C. Miller
1996-09-21Import of unmolested less-290.etheisen
2015-11-05simplify: use one stylesheet rather than two; from bentley@Ingo Schwarze
2015-11-05allow "kill" from top, by using proc instead of idMarc Espie
(event though the documentation does not yet state that proc allows setpriority for renice) Problem found by me, tweak suggested by theo buehler Committed prompted by deraadt@
2015-11-05Update the internal wcwidth(3) table of tmux(1) to match the dataIngo Schwarze
in /usr/src/share/locale/ctype/en_US.UTF-8.src, with one single exception: Keep U+00AD SOFT HYPHEN at width 1 rather than moving it to width 0, a tradition already observed in the old https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c . While here, manually rebalance the btree for optimal lookup speed. OK nicm@
2015-11-05Fix the example "ls . |more"; from Frederic Nowak <fnwk at mailbox dot org>.Ingo Schwarze
While here, make it clear that `-' and `|' are only special in local, not in remote filenames. Probably, `|' support should be removed from ftp(1), but let's fix one thing at a time. OK jmc@
2015-11-05palmpilot should have gone when palm was added, it is redundant.Nicholas Marriott
2015-11-05Pass through right click if mouse is on, from Patrick Palka.Nicholas Marriott
2015-11-05Remove xfree(), like already done for RCS. From Michael W Bombardieri,Nicholas Marriott
ok mmcc
2015-11-05"commandline" -> "command line", since there are so few examplesJason McIntyre
of the former in the pages, so many of the latter, and in some of these pages we had multiple spellings; prompted by tj
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-11-04Change cron from including all headers in every file to only includingTodd C. Miller
what each .c file needs. I have not removed cron.h since it will be used in a future clean up of the cron's .h files. OK nicm@
2015-11-04Fix inverted pledge requests, from Frederic NowakJeremie Courreges-Anglas
2015-11-03It is only necessary to swap the effective gid when reading a file.Todd C. Miller
An attacker exploiting an overflow can change the egid themselves so running with the egid of the user in other places just gives you a false sense of security. OK nicm@ deraadt@
2015-11-03There really is no double standard. Treat m4 just like openssl, byTheo de Raadt
removing VMS and MSDOS support. ok espie
2015-11-03Detach the client we are looping over, from Thomas Adam.Nicholas Marriott
2015-11-03Blank line after pledge call.mmcc
2015-11-03Blank line after pledge call.mmcc
2015-11-03Surround pledge calls with blank lines.mmcc
2015-11-03Blank line after pledge().mmcc
2015-11-03Blank line before pledge().mmcc
2015-11-03Add blank line after pledge call.mmcc
2015-11-02remove Tn macros ("Tradename") from things which are actually hostnames,Stuart Henderson
ok jmc
2015-11-02Make signify's stdout line buffered. This allows to run the verboseAlexander Bluhm
output through a pipe and still see the progress immediately. OK tedu@
2015-11-02add support for whois -I, to use whois.iana.org (root zone database).Stuart Henderson
ok millert@, tweak/"everything else looks fine" jmc@
2015-11-02Cast isdigit()'s argument to an unsigned char.mmcc
ok millert@, jca@
2015-11-02Cast isdigit()'s argument to unsigned char.mmcc
ok millert@
2015-11-02Allow rcsnum_free and buf_free to accept NULL and remove various NULLNicholas Marriott
checks that are now unnecessary, from Michael W Bombardieri. ok millert
2015-11-01replace "can not" with "cannot";Jason McIntyre
2015-11-01pledge m4. tested by me.Marc Espie
reordered to match the manpage, and added tmppath as an annotation prompted by deraadt@
2015-11-01Pledge; OK millert@Tim van der Molen
2015-11-01update currency exchange rates;Jason McIntyre
2015-11-01KNF; from Rob PierceTheo de Raadt
2015-10-31Update Matroska magic file.Nicholas Marriott
2015-10-31Fall back silently to ~ or / rather than checking -c with access(), thisNicholas Marriott
was the old behaviour.
2015-10-31Don't shift version out of peerid, it is needed later.Nicholas Marriott
2015-10-31The output log is only useful once and it means creating a file, so openNicholas Marriott
it once at startup instead of in every call to tty_open.
2015-10-31Split client-only (at, crontab) functions out of misc.c and intoTodd C. Miller
client.c. Move truly common functions into common.c. This avoids dead code in the at and crontab commands.
2015-10-31mark *Completions* buffer as read-onlyJasper Lievisse Adriaanse
ok lum@
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsNicholas Marriott
around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
2015-10-30Redo 1.69, but correctly, so that this really works for yp setups.Miod Vallat
2015-10-30If a .Bd block has no arguments at all, drop the block and only keepIngo Schwarze
its contents. Removing a gratuitious difference to groff output found after a related bug report from krw@.
2015-10-30Do not access a NULL pointer when a .Bd macro has no arguments at all.Ingo Schwarze
Bug reported by krw@.
2015-10-30top renice command requires pledge "id", from Michael LesniewskiTheo de Raadt
2015-10-30mark usage __deadTed Unangst
2015-10-29I assume KRANDOM was the previous name for FFRAND. KRANDOM is not inMark Lumsden
the mg source now.