summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2013-06-02Pq -> Qq, as confirmed by miod;Jason McIntyre
2013-06-02tweak previous; ok miodJason McIntyre
2013-06-02escape "Ss", becuase groff thinks it has found a macro;Jason McIntyre
2013-06-02move bgplg and slowcgi sockets to /var/www/runFlorian Obser
input reyk@, guenther@ "move fast" deraadt@ OK naddy@
2013-06-02Make parent_alive_interval time_t to avoid signed/unsigned comparisonDarren Tucker
2013-06-02Add misc.h for monotim prototype.Darren Tucker
2013-06-02Add the 'quit-window' dired command and receive a basic English lessonlum
from jmc@ again.
2013-06-02Fix return value in refreshbuffer.lum
2013-06-02Rename the dired-* commands to be like the emacs equivalents.lum
2013-06-02The actual terminfo entries we ended up with for cursor changes are Cs,Nicholas Marriott
Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier.
2013-06-02<sys/dir.h> isn't needed herePhilip Guenther
2013-06-02Switch from antique struct direct to struct direntPhilip Guenther
2013-06-02Sync with bsd.lv, reshuffling the code a bit among mparse_readfd() andIngo Schwarze
mparse_parse_buffer(), no functional change intended. Exclude the following from the sync: - Skip the mparse_readmem() function, it's useless in OpenBSD. - Thus, UNCONST isn't used, so no need for "main.h" and <stdint.h>. - Skip HAVE_CONFIG_H (always off here) and HAVE_MMAP (always on here).
2013-06-02Copy approach from mkdir to fix a race condition where multiple install -d'sChristian Weisgerber
trying to create overlapping paths in parallel could error out. ok millert@
2013-06-01This file contains too much complexity.Ingo Schwarze
Remove one layer of indirection by deleting mparse_readfd_r() and doing its work in the public mparse_readfd(). As a bonus, catch recursive .so. This is part of the preparations to resync to mdocml.bsd.lv.
2013-06-01Update progressmeter when data is acked, not when it's sent. bz#2108, fromDarren Tucker
Debian via Colin Watson, ok djm@
2013-06-01use the standardized names instead of S_IREAD and S_IWRITETheo de Raadt
ok guenther dtucker
2013-06-01Replace S_IWRITE, which isn't standardized, with S_IWUSR, which is. PatchDarren Tucker
from Nathan Osman via bz#2085. ok deraadt.
2013-06-01Update my email address to reyk@openbsd.org, especially for the HTML output.Reyk Floeter
2013-06-01update currency exchange rates;Jason McIntyre
2013-06-01new sentence, new line;Jason McIntyre
2013-06-01Remove 'lint' mode. lint(1) is gone, and the mode was not documentedlum
anywhere. ok jasper@ florian@
2013-06-01If popbuf() fails, calling function should return FALSE.lum
2013-06-01Add dired key bindings. ok and advice jmc@lum
2013-06-01Make 'kill-paragraph' behave like emacs. ok florian@lum
2013-06-01Use a standard locale name, "UTF-8" is an ugly non-standard aliasIngo Schwarze
that doesn't work on OpenBSD. OK tedu@ naddy@
2013-06-01Use clock_gettime(CLOCK_MONOTONIC ...) for ssh timers so that things likeDarren Tucker
keepalives and rekeying will work properly over clock steps. Suggested by markus@, "looks good" djm@.
2013-06-01Update the forw/backpara comments to reflect recent changes.lum
2013-06-01The k*() functions were moved to yank.c in 2005. Update the comment tolum
reflect this.
2013-06-01Introduce ltrace(1). This tool works with ld.so to inject utrace record forMiod Vallat
each plt call, allowing to trace a binary linked against shared library at the public function call level. To do so, ltrace(1) sets up some environment variables to enable plt tracing in ld.so, and invokes ktrace(2) for utrace events. ld.so will force lazy binding and will send an utrace record in the plt resolver, without updating the plt. Minimal filtering capabilities are provided, inspired by Solaris' truss -u, to limit tracing to libraries and/or symbol names. Non-traced libraries and symbols will have the regular resolver processing, with the expected plt update. "Get it in" deraadt
2013-06-01Userland bits for utrace record handling; from otto@Miod Vallat
2013-06-01tidy-up int declarations as suggested by florian@lum
2013-06-01Adjust M-} (forward-paragraph) to behave like emacs.lum
Bug fix and ok florian@
2013-06-01If a table contained at least one complete lineIngo Schwarze
and on its last line, the first T{ remained unclosed, roff_parseln() never returned ROFF_TBL for that last line, so {man,mdoc}_addspan() never got called for that last line, so we ended up with a table where no line associated with a node had TBL_SPAN_LAST set, so tbl_term() never free()'d the cols in struct roffcol, so tblcalc() crashed on the NULL == tbl->cols assertion when starting the *next* table in the same file. Fix this by returning ROFF_TBL as soon as we open a data cell, not only when finishing it - as explained above, it may never get properly closed but instead be interrupted by .TE. Problem reported by bentley@ in latex2man.1. I love it when bugs take half a day to debug but the fix turns out to be flipping one single bit in the source code.
2013-05-31More cleanup: Consistently use the name "struct tbl_node *tbl"Ingo Schwarze
that is already used almost everywhere instead of gratuitiously inventing different names at four places. No functional change.
2013-05-31The name "struct tbl" was badly misleading for two reasons:Ingo Schwarze
1) This struct almost exclusively contains the table options. 2) Information about the table as a whole is actually in "struct tbl_node". Besides, "struct tbl" was almost impossible to search for. So rename it to "struct tbl_opts". No functional change.
2013-05-31Demote the old single-character replacement variables (#S and friends)Nicholas Marriott
to aliases of formats. From Tiago Cunha.
2013-05-31Add host_short format, from Tiago Cunha.Nicholas Marriott
2013-05-31Also inform the user about beginning / end of buffer in previous-lineFlorian Obser
and next-line. ok lum@
2013-05-31Make the system bell toggleable via 'audible-bell', and if switchedlum
off, make available an alternative 'visible-bell'. ok florian@ jasper@ Feedback Sunil Nimmagadda.
2013-05-31Use u_char for the send-keys string to avoid mangling top-bit-setNicholas Marriott
characters when they are promoted to int and passed to window_pane_key. Reported by Jacob Bang.
2013-05-31Use time_t where appropriate. ok djmDarren Tucker
2013-05-31Instead of eating 1024 bytes or so for the arguments of each command,Nicholas Marriott
save memory by using an RB tree. From Tiago Cunha.
2013-05-30"I dare you." lum@Florian Obser
2013-05-30Use adjustname() for the dired-copy-file and dired-rename-filelum
commands.
2013-05-30remove cmtime again, but with a proper test for nodes without children.Marc Espie
problem seen by aja, make pointed by matthieu, sleuthing by me, okay by millert (and you say OpenBSD developers don't work together)
2013-05-30Use adjustname() before trying to use the path to be dired.lum
ok jasper@
2013-05-30Reuse the makedir() function in dir.c for dired'slum
dired-create-directory command. ok jasper@
2013-05-30Reject non-printable characters found in the input stream even whenIngo Schwarze
preceded by a backslash; otherwise, the escape sequence would later be identified as invalid and the non-printable character would be passed through to the output backends, sometimes triggering assertions. Reported by Mike Small <smallm at panix dot com> on the mdocml discuss list.
2013-05-30adjust error message for empty files to display the full path to the file,Jasper Lievisse Adriaanse
helps in case the file exists in multiple locations. this also matches fd.o.