summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-05-09For half and reverse line feeds, recognize SUSv2-style escape-digitIngo Schwarze
sequences in the input stream in addition to traditional BSD-style escape-control-char sequences because traditional tools, for example Heirloom roff, produce SUSv2-style sequences. Switch the encoding of forward half line feeds in the output of -f back to SUSv2 style because that's likely to work with more tools than the non-standard traditional BSD-style sequence. Fully document these choices. Issues originally reported by bapt at FreeBSD. OK millert@ jmc@, and bapt@ also more or less agrees with the direction.
2015-05-08Put the tty structs together, and tabify.Nicholas Marriott
2015-05-08grid_marker_cell is no longer used.Nicholas Marriott
2015-05-08mode_key_entry can go into mode-key.c; also a few spaces->tabs.Nicholas Marriott
2015-05-08Avoid scattering octal escapes all over the place,Ingo Schwarze
use the definitions given at the top of the file. No functional change. From bapt at FreeBSD.
2015-05-08window_choose_mode_item can move into window-choose.c.Nicholas Marriott
2015-05-08Move input parser structs into input.c (removing fairly uselessNicholas Marriott
saved_cursor_[xy] formats as a side-effect).
2015-05-08Remove some stuff that accidentally ended up here from portable, andNicholas Marriott
remove a little-used debug function.
2015-05-08Remove ereply prototype since it is never used. Tweak a comment to reflectBrian Callahan
ereply removal. ok jasper@ florian@
2015-05-08Fix about ten integer overflows and underflows and a handful of logicIngo Schwarze
errors in line number handling. Detailed explanations were sent to tech@ on October 18, 2014. OK doug@, and bapt at FreeBSD says he likes the direction
2015-05-08moar whitespace at eolDamien Miller
2015-05-08whitespace at EOLDamien Miller
2015-05-08whitespace at EOLDamien Miller
2015-05-08Use xcalloc for permitted_adm_opens instead of xmalloc to ensure it's zeroed.Darren Tucker
Fixes post-auth crash with permitopen=none. bz#2355, ok djm@
2015-05-08don't choke on new-format private keys encrypted with an AEAD cipher;Damien Miller
bz#2366, patch from Ron Frederick; ok markus@
2015-05-07Update environment when switching sessions as well as attaching, from SiNicholas Marriott
Beaumont.
2015-05-07Do not let the -m option or MANPATH with leading, trailing, or doubleIngo Schwarze
colon override the default manpath, let them add to the default manpath. Only override the default manpath by the -M option, by MANPATH without leading, trailing, or double colon, or by "manpath" in man.conf(5). Problem reported by Jan Stary <hans at stare dot cz>. Patch OK'ed by millert@.
2015-05-07Style spacing nits.Nicholas Marriott
2015-05-07array.h can be local to window-choose.c now.Nicholas Marriott
2015-05-07Use a TAILQ not array for find-window.Nicholas Marriott
2015-05-07Simplify environ_push so it doesn't need the ARRAY_* functions.Nicholas Marriott
2015-05-07If status line is at the top, the offset needs to be adjusted whenNicholas Marriott
drawing pane numbers. Based on a diff from John O'Meara.
2015-05-06Remove ARRAY_* from history and expand completion to complete a) layoutNicholas Marriott
names and b) targets beginning with -t or -s.
2015-05-06Add a format window_linked which is 1 if a window has been linkedNicholas Marriott
multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me.
2015-05-06Display thread IDs instead of the name of the process's owner when "-H"Martin Pieuchot
is used. The rationnal is that when you're looking at threads you're generally already filtereing by PID and this allow you to see which thread is a pig. Written some time ago with mikeb@ ok sthen@, krw@, guenther@
2015-05-06Turn cursor off during redraw, pointed out by George Nachman.Nicholas Marriott
2015-05-06Clarify pseudo-terminal request behaviour and use "pseudo-terminal"Darren Tucker
consistently. bz#1716, ok jmc@ "I like it" deraadt@.
2015-05-06Blacklist DH-GEX for specific PuTTY versions known to send non-RFC4419Darren Tucker
DH-GEX messages rather than all versions of PuTTY. According to Simon Tatham, 0.65 and newer versions will send RFC4419 DH-GEX messages. ok djm@
2015-05-05WinSCP doesn't implement RFC4419 DH-GEX so flag it so we don't offer thatDarren Tucker
KEX method. ok markus@
2015-05-05use the sizeof the struct not the sizeof a pointer to the structJonathan Gray
in ssh_digest_start() This file is only used if ssh is built with OPENSSL=no ok markus@
2015-05-04Use the right index when expanding/collapsing tree, from Thomas Adam.Nicholas Marriott
2015-05-04Fix clipping bug in float to fixed point conversion, causingAlexandre Ratchov
audible glitches when samples smaller than the quantification step are converted.
2015-05-04Remove pattern length argument from match_pattern_list(),Damien Miller
we only ever use it for strlen(pattern). Prompted by hanno AT hboeck.de pointing an out-of-bound read error caused by an incorrect pattern length found using AFL and his own tools. ok markus@
2015-05-03Preserve times to nanosecond precision instead of just microsecond.Philip Guenther
Prefer to set attributes by fd for regular files, and not follwing symlinks for others. ok brynet@ millert@
2015-05-02statue [sic] day in netherlands antilles becomes kingdom day in the netherlands;Jason McIntyre
thanks paul de weerd for pointers
2015-05-01- king's birthday now celebrated in the netherlands; from einfach jemandJason McIntyre
ok, though not neccessarily endorsed, from/by otto tim van der molen further requested it be "king's day" and the removal of antilles while here i've used an article (*the* netherlands), here and in another example
2015-05-01mdoc_valid_post() may indirectly call roff_node_unlink() which mayIngo Schwarze
set ROFF_NEXT_CHILD, which is desirable for the final call to mdoc_valid_post() - in case the target itself gets deleted, the parse point may need this adjustment - but not for the intermediate calls - if intermediate nodes get deleted, that mustn't clobber the parse point. So move setting ROFF_NEXT_SIBLING to the proper place in rew_last(). This fixes the assertion failure in jsg@'s afl test case 108/Apr27.
2015-05-01Setting the "last" member of struct roff_node was done at an extremelyIngo Schwarze
weird place. Move it to the obviously correct place. Surprisingly, this didn't cause any misformatting in the test suite or in any base system manuals, but i cannot believe the code was really correct for all conceivable input, and it would be very hard to verify. At the very least, it cannot have worked for man(7).
2015-05-01Minor bug fix: When .Pp rewinds .Nm, rewind the whole block,Ingo Schwarze
not just the body. In some unusual edge cases, this caused the .Pp to become a sibling of the .Nm body inside the .Nm block.
2015-05-01mention that the user's shell from /etc/passwd is used for commandsDamien Miller
too; bz#1459 ok dtucker@
2015-05-01refactor ssh_dispatch_run_fatal() to use sshpkt_fatal() to betterDamien Miller
report error conditions. Teach sshpkt_fatal() about ECONNRESET. Improves error messages on TCP connection resets. bz#2257 ok dtucker@
2015-05-01a couple of parse targets were missing activep checks, causing themDamien Miller
to be misapplied in match context; bz#2272 diagnosis and original patch from Sami Hartikainen ok dtucker@
2015-05-01make handling of AuthorizedPrincipalsFile=none more consistentDamien Miller
with other =none options; bz#2288 from Jakub Jelen; ok dtucker@
2015-05-01remove failed remote forwards established by muliplexing from theDamien Miller
list of active forwards; bz#2363, patch mostly by Yoann Ricordel; ok dtucker@
2015-05-01reduce stderr spam when using ssh -S /path/mux -O forward -R 0:...Damien Miller
ok dtucker@
2015-05-01prevent authorized_keys options picked up on public key tests withoutDamien Miller
a corresponding private key authentication being applied to other authentication methods. Reported by halex@, ok markus@
2015-05-01Don't make parsing of authorized_keys' environment= option conditionalDamien Miller
on PermitUserEnv - always parse it, but only use the result if the option is enabled. This prevents the syntax of authorized_keys changing depending on which sshd_config options were enabled. bz#2329; based on patch from coladict AT gmail.com, ok dtucker@
2015-04-30update currency exchange rates;Jason McIntyre
2015-04-30Add a comment about waitpid, suggested by espie@.Nicholas Marriott
2015-04-30Tweak comment so it doesn't imply line buffering is needed (any will doNicholas Marriott
so long as it is explicit), and set stderr to NBF not LBF. Pointed out by espie@.