summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2019-07-09Add j and k for navigation in menus, GitHub issue 1828.Nicholas Marriott
2019-07-09Fix manual openssl(1) genrsaKinichiro Inoguchi
Add missing -camellia*/-idea description to genrsa section. ok jmc@
2019-07-09Convert openssl(1) genrsa to the newer style of option handlingKinichiro Inoguchi
ok tb@ jsing@
2019-07-09cap the number of permiopen/permitlisten directives we're willing toDamien Miller
parse on a single authorized_keys line; ok deraadt@
2019-07-08Clear search marks before resize, GitHub issue 1823.Nicholas Marriott
2019-07-08Fix manual openssl(1) dsa, ocsp, rsa and smimeKinichiro Inoguchi
- dsa : add missing -pvk-none, -pvk-strong and -pvk-weak add pvk format to -inform and -outform - ocsp : add missing -header, -ignore_err, -no_explicit and -timeout - rsa : add missing -pvk-none, -pvk-strong and -pvk-weak add missing -RSAPublicKey_in and -RSAPublicKey_out add pvk format to -inform and -outform - smime : add missing -nosmimecap - add pvk description at common format part ok jmc@
2019-07-08Use the clear history function for the 3J sequence rather than doing it ↵Nicholas Marriott
manually.
2019-07-07fix one last edge case regarding PATH, allows simpler config.Ted Unangst
2019-07-07Fix manual openssl(1) pkcs12, req, verify and x509Kinichiro Inoguchi
- For pkcs12, add -camellia*/-idea, -LMK and -password - For req, add -multivalue-rdn, -pkeyopt and -sigopt - For verify, add -CRLfile and -trusted, and down -check_ss_sig description - For x509, add -next_serial and -sigopt - Remove the escape in -multivalue-rdn from ca section ok jmc@
2019-07-07Remove some set but never used variables. ok daraadt@Darren Tucker
2019-07-06Correctly adjust mouse position if the status line is at the top andNicholas Marriott
more than one line. GitHub issue 1822.
2019-07-06Correctly clear underscore colour in grid_get_cell1, also fix structNicholas Marriott
grid_cell to avoid padding. Fixes increased memory use reported by Suraj N Kurapati.
2019-07-05Make mg display the correct file name in the minibuffer if you loadMark Lumsden
another file in a startup file (e.g via find-file), then experience another unrelated error with one of the lines being evaluated.
2019-07-05Fix manual openssl(1) ec, enc and pkcs7Kinichiro Inoguchi
- For ec, add -param_out description - For enc, add -v usage and description - For pkcs7, add -print usage and description ok jmc@
2019-07-05lock(1): make "-n" and "-t timeout" mutually exclusive.cheloha
It doesn't make sense to simultaneously say "never time out" and "release this terminal in a few minutes". Input from kn@. "just go for it" deraadt@
2019-07-05still compile uuencode.c, unbreaks buildTheo de Raadt
2019-07-05Fix manual openssl(1) dgstKinichiro Inoguchi
- Add undocumented option -r ok jmc@
2019-07-05Do not use uninitialized buffer name.Nicholas Marriott
2019-07-05Fix spacing and comments, no code change.Alexandre Ratchov
2019-07-05revert header removal that snuck into previousDamien Miller
2019-07-05add a local implementation of BSD realpath() for sftp-server useDamien Miller
ahead of OpenBSD's realpath changing to match POSIX; ok deraadt@ (thanks for snaps testing)
2019-07-04note that authentication is required, unless otherwise configured.Ted Unangst
ok sthen
2019-07-04fatal() if getgrnam() cannot find "tty"Theo de Raadt
2019-07-04stat() returns precisely -1 to indicate errorTheo de Raadt
2019-07-04Fix manual openssl(1) crlKinichiro Inoguchi
- Add undocumented options -crlnumber, -hash_old, -nameopt and -verify ok jmc@
2019-07-04Fix manual openssl(1) caKinichiro Inoguchi
- Add undocumented options -crlsec and -sigopt - Sync argument name between usage and options description ok jmc@
2019-07-04set ierrs and oerrs titles when changing fails/drops/errs, not ierrs twiceDavid Gwynne
2019-07-03selfinsert() can't be called directly from a startup file or byMark Lumsden
'eval-current-buffer' since it is by design, meant to be called interactively as characters are typed in a buffer. ask_selfinsert() allows selfinsert() to be used by excline(). Having ask_selfinsert() helps with regression testing. No manual page entry since use case is a bit obscure. See 'insert' command.
2019-07-03prevent mandoc from segfaulting if /tmp is not writableMarc Espie
okay schwarze@
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-07-02Command prompt key presses need to avoid the command queue, GitHub issueNicholas Marriott
1817. Also a tmux.1 fix from jmc.
2019-07-02I totally forgot about the instance where blink-and-insert can beMark Lumsden
called from the mg startup file. My previous diff broke that instance. So this diff reverts my change but adds a man page line to blink-and-insert in case someone should try to use it interactively, again. Also, should anyone ever want to add an interactive version of blink-and-insert in the future, the code is there. And the code could be useful in another, related instance.
2019-07-01delete trailing whitespace and space-tab sequences; no code change;Ingo Schwarze
patch from Michal Nowak <mnowak at startmail dot com> who found these with git pbchk in the illumos tree
2019-07-01Check if user tries to go to current directory in dired-goto-file.Mark Lumsden
2019-07-01add dired-goto-fileMark Lumsden
2019-07-01Add a "fill" style attribute to clear the entire format drawing area inNicholas Marriott
a colour, GitHub issue 1815.
2019-07-01update currency exchange rates;Jason McIntyre
i've added a comment to note that i've been unable to update currencies for hungary, iceland, ukraine, and vietnam for around 8 months now. the economist appears to have stopped listing them, at least on their online pages;
2019-06-30Do not double free window if pane fails to start.Nicholas Marriott
2019-06-29fix some more fallout from setting path in setusercontext. restoreTed Unangst
previous behavior of using user PATH if no cmd restriction in the rule. run into by espie
2019-06-29Check if syscalls return -1 instead of any negative or non-zero value.Alexandre Ratchov
ok deraadt
2019-06-28Actually, the C standard only guarantees that atexit(3) returns non-zeroIngo Schwarze
on error, so tweak previous to test "atexit(...) != 0" for portability. "OK ok ok sorry backwards" deraadt@
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2019-06-28asprintf returns -1, not an arbitrary value < 0. Also upon error theTheo de Raadt
(very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-06-28atexit() returns -1 on failureTheo de Raadt
2019-06-28oops, from asouTheo de Raadt
2019-06-27Partial rewrite of the explanation of environment handling to avoid:Ingo Schwarze
- making statements then taking them back - different order of explanation for different options - gratuitous variations of wordings - misplacing talk about real and effective IDs below ENVIRONMENT - omitting some relevant variables from the ENVIRONMENT section "reads OK" jmc@
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.Theo de Raadt
ok millert nicm tb, etc
2019-06-27minor eol issues;Jason McIntyre
2019-06-27Display an error message if trying to copy or rename a file to itself.Mark Lumsden