summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2021-06-23substantially shorten the usage() messageTheo de Raadt
pieces by jmc, pieces by me
2021-06-22reduce verbosity in usage and make it match SYNOPSIS;Jason McIntyre
i reformatted it to match 80w, and removed two functions that had been used to populate usage: getdistoptlist and msgprusage; ok millert
2021-06-22reduce verbosity in usage and make it match SYNOPSIS;Jason McIntyre
ok millert
2021-06-22reduce verbosity in usage and make it match SYNOPSIS;Jason McIntyre
ok millert
2021-06-22Reduce verbosity in tset/reset usage()Theo Buehler
from jmc, ok kn
2021-06-22Hoist initialization of _nc_progname to start of main()Theo Buehler
This way early calls to err(), failed() and usage() show "reset" instead of "tset" if the program was invoked as reset(1). Issue noted by jmc ok kn
2021-06-20Change the authentication protocol (-a) default to SHA-256 and the privacyMartijn van Duren
protocol (-x) default to AES. The old defaults are just not sane anymore. OK sthen@
2021-06-18Mention %1 under choose-tree also.Nicholas Marriott
2021-06-16Minor fixes to option descriptions.Nicholas Marriott
2021-06-16Pass Ctrl keys through as is when given as hex, GitHub issue 2724.Nicholas Marriott
2021-06-12space between rfc and number;Jason McIntyre
2021-06-10Fix readrec's definition of a recordTodd C. Miller
It is not sufficient to check for the EOF flag on a stream. From https://github.com/onetrueawk/awk/pull/117
2021-06-10fix some formatting errors;Jason McIntyre
2021-06-10Do not clear region based on current cursor position, this is notNicholas Marriott
necessary anymore and causes problems, GitHub issue 2735.
2021-06-10Feature for the mouse since FreeBSD termcap does not have kmous.Nicholas Marriott
2021-06-10Fix rectangle selection, from Anindya Mukherjee, GitHub issue 2709.Nicholas Marriott
2021-06-10Bump FORMAT_LOOOP_LIMIT and add a log message when hit, GitHub issue 2715.Nicholas Marriott
2021-06-10Fix <= operator.Nicholas Marriott
2021-06-10More accurate vi(1) word navigation in copy mode and on the status line.Nicholas Marriott
This changes the meaning of the word-separators option - setting it to the empty string is equivalent to the previous behavior. From Will Noble in GitHub issue 2693.
2021-06-10Do not use NULL client when source-file finishes, GitHub issue 2707.Nicholas Marriott
2021-06-10Add -F for command-prompt and use it to fix "Rename" on the window menu,Nicholas Marriott
GitHub issue 2699.
2021-06-10Do not expand the file given with -f so it can contain :s.Nicholas Marriott
2021-06-10Remove old shift function keys which interfere with xterm keys now.Nicholas Marriott
GitHub issue 2696.
2021-06-10Fire check callback after cleaning up event so it does not get stuck,Nicholas Marriott
from Jeongho Jang in GitHub issue 2695.
2021-06-10Add different command historys for different types of promptsNicholas Marriott
("command", "search" etc). From Anindya Mukherjee.
2021-06-10Fix warnings, from Jan Tache in GitHub issue 2692.Nicholas Marriott
2021-06-10Improve logging of screen mode changes.Nicholas Marriott
2021-06-10Move "special" keys into the Unicode PUA rather than making them top bitNicholas Marriott
set, some compilers do not allow enums that are larger than int. GitHub issue 2673.
2021-06-10Change cursor style handling so tmux understands which sequences containNicholas Marriott
blinking and sets the flag appropriately, means that it works whether cnorm disables blinking or not. GitHub issue 2682.
2021-06-10Change resize timers and flags into one timer and a queue which isNicholas Marriott
simpler and fixes problems with vim when resized multiple times. GitHub issue 2677.
2021-06-10Do not count client (and crash) if no window.Nicholas Marriott
2021-06-10Three changes to fix problems with xterm in VT340 mode, reported byNicholas Marriott
Thomas Sattler. 1) Do not include the DECSLRM or DECFRA features for xterm; they will be added instead if secondary DA responds as VT420 (this happens already). 2) Set or reset the individual flags after terminal-overrides is applied, so the user can properly disable them. 3) Add a capability for DECFRA ("Rect").
2021-06-10Include current client in size calculation for new sessions, GitHubNicholas Marriott
issue 2662.
2021-06-10Add an "always" value to the extended-keys option to always forwardNicholas Marriott
these keys to applications inside tmux.
2021-06-10back-to-indentation fixes, from Anindya Mukherjee.Nicholas Marriott
2021-06-10Fix display-menu -xR, from Alexis Hildebrandt.Nicholas Marriott
2021-06-10Adjust latest client when a client detaches, GitHub issue 2657.Nicholas Marriott
2021-06-10Add another couple of keys needed for extended keys, GitHub issue 2658.Nicholas Marriott
Handle modifier 9 as Meta, GitHub issue 2647.
2021-06-10Continue accept loop when pselect returns -1, eg if it was interruptedDarren Tucker
by a signal. This should prevent the hang discovered by sthen@ wherein sshd receives a SIGHUP while it has an unauthenticated child and goes on to a blocking read on a notify_pipe. feedback deraadt@, ok djm@
2021-06-08fix regression in r1.356: for ssh_config options that acceptedDamien Miller
multiple string arguments, ssh was only recording the first. Reported by Lucas via bugs@
2021-06-08switch sshd_config parsing to argv_split()Damien Miller
similar to the previous commit, this switches sshd_config parsing to the newer tokeniser. Config parsing will be a little stricter wrt quote correctness and directives appearing without arguments. feedback and ok markus@ tested in snaps for the last five or so days - thanks Theo and those who caught bugs
2021-06-08Switch ssh_config parsing to use argv_split()Damien Miller
This fixes a couple of problems with the previous tokeniser, strdelim() 1. strdelim() is permissive wrt accepting '=' characters. This is intended to allow it to tokenise "Option=value" but because it cannot keep state, it will incorrectly split "Opt=val=val2". 2. strdelim() has rudimentry handling of quoted strings, but it is incomplete and inconsistent. E.g. it doesn't handle escaped quotes inside a quoted string. 3. It has no support for stopping on a (unquoted) comment. Because of this readconf.c r1.343 added chopping of lines at '#', but this caused a regression because these characters may legitimately appear inside quoted strings. The new tokeniser is stricter is a number of cases, including #1 above but previously it was also possible for some directives to appear without arguments. AFAIK these were nonsensical in all cases, and the new tokeniser refuses to accept them. The new code handles quotes much better, permitting quoted space as well as escaped closing quotes. Finally, comment handling should be fixed - the tokeniser will terminate only on unquoted # characters. feedback & ok markus@ tested in snaps for the last five or so days - thanks Theo and those who caught bugs
2021-06-08Check if IPQoS or TunnelDevice are already set before overriding.Darren Tucker
Prevents values in config files from overriding values supplied on the command line. bz#3319, ok markus.
2021-06-08Allow argv_split() to optionally terminate tokenisation when itDamien Miller
encounters an unquoted comment. Add some additional utility function for working with argument vectors, since we'll be switching to using them to parse ssh/sshd_config shortly. ok markus@ as part of a larger diff; tested in snaps
2021-06-07fix debug message when finding a private key to match a certificateDamien Miller
being attempted for user authentication. Previously it would print the certificate's path, whereas it was supposed to be showing the private key's path. Patch from Alex Sherwin via GHPR247
2021-06-06Match host certificates against host public keys, not private keys.Damien Miller
Allows use of certificates with private keys held in a ssh-agent. Reported by Miles Zhou in bz3524; ok dtucker@
2021-06-06Client-side workaround for a bug in OpenSSH 7.4: this release allowsDamien Miller
RSA/SHA2 signatures for public key authentication but fails to advertise this correctly via SSH2_MSG_EXT_INFO. This causes clients of these server to incorrectly match PubkeyAcceptedAlgorithms and potentially refuse to offer valid keys. Reported by and based on patch from Gordon Messmer via bz3213, thanks also for additional analysis by Jakub Jelen. ok dtucker
2021-06-06degrade gracefully if a sftp-server offers the limits@openssh.comDamien Miller
extension but fails when the client tries to invoke it. Reported by Hector Martin via bz3318
2021-06-06the limits@openssh.com extension was incorrectly marked as anDamien Miller
operation that writes to the filesystem, which made it unavailable in sftp-server read-only mode. Spotted by Hector Martin via bz3318
2021-06-05PROTOCOL.certkeys: update reference from IETF draft to RFCChristian Weisgerber
Also fix some typos. ok djm@