summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2014-05-08protip: "It's largely bad style to do (int)sizeof"Ted Unangst
amusingly, theo phrased this with considerably more restraint than i did.
2014-05-08inet(3) -> inet_net(3);Jason McIntyre
2014-05-08Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.Martin Pieuchot
Nothing use them for the moment, but here is the plan: Since a route lookup is always necessary to output a packet it makes sense to store all the information regarding how the packet should be sent in the routing entry. This will save us some expensive lookups on address lists. But once we have all the information about our addresses in the routing table, we can even use it in the input path with the hope that the number of lookups in the forwarding case can be reduce to one. ok henning@, chris@
2014-05-08Send up and down keys for mouse wheel in alternate screen mode (when itNicholas Marriott
normally does nothing), from Marcel Partap.
2014-05-08Instead of forcing mouse scroll to 1 in choose mode, scale it downNicholas Marriott
instead. Means modifier keys still increase the line count, just not as much. Based on a diff from Marcel Partap.
2014-05-08whack some useless verbiage from DESCRIPTION, and merge some of it intoJason McIntyre
the env vars section; tidy up the env vars section and remove the commented out stuff which relataes mainly to less on other systems;
2014-05-08- update DESCRIPTION and COMPATIBILITY WITH MOREJason McIntyre
- Xr more 1 ok millert schwarze
2014-05-08+.Xr less 1 ,Jason McIntyre
2014-05-08Plug a memory leak, from J Raynor.Nicholas Marriott
2014-05-08Both the two previous ways of navigating panes by direction haveNicholas Marriott
irritating flaws: a) The old way of always using the top or left if the choice is ambiguous is annoying when the layout is unbalanced. b) The new way of remembering the last used pane is annoying if the layout is balanced and the leftmost is obvious to the user (because clearly if we go right from the top-left in a tiled set of four we want to end up in top-right, even if we were last using the bottom-right). So instead, use a combination of both: if there is only one possible pane alongside the current pane, move to it, otherwise choose the most recently used of the choice.
2014-05-08Handle colour 8 properly in the 256 colour palette, from Timothy Allen.Nicholas Marriott
2014-05-07When you want more, you say "more". When you want less, you say "less".Vadim Zhukov
When you don't get what you asked for, you get angry. When you add a tiny bit, it should be "more" or "less" still, or you'll get angry. So lets make zmore(1) call more(1) and zless(1) call less(1), as it's supposed to be. okay and input from ingo@, no objections from author AKA millert@
2014-05-07Render roff escape sequences contained in manual page descriptionsIngo Schwarze
before putting them into the mpages table. Issue found by bentley@ in OpenBSD::Getopt(3p).
2014-05-07Fix two memory leaks in makewhatis -n:Ingo Schwarze
1. As found by nigel@, names_check() requires database access. 2. Do not leak names and strings in -n mode.
2014-05-07Do not segfault in makewhatis -Q if the next .SH after .SH NAMEIngo Schwarze
does not have any arguments. Crash found by nigel@ in kermit(1).
2014-05-07calloc, from peter maloneTed Unangst
2014-05-06temp variable for a bit of clarityTed Unangst
2014-05-06remove unneeded variableTed Unangst
2014-05-06factor out the safepathTed Unangst
2014-05-06be more explicit about what's a stringTed Unangst
2014-05-06better alloc idiomTed Unangst
2014-05-06factor max message sizeTed Unangst
2014-05-05Zap extra whitespace.Loganaden Velvindron
OK from djm@ and dtucker@
2014-05-03unbreak compression, by re-init-ing the compression code in theMarkus Friedl
post-auth child. the new buffer code is more strict, and requires buffer_init() while the old code was happy after a bzero(); originally from djm@
2014-05-03more tweaking; ok sthenJason McIntyre
2014-05-03remove unused variablesCharles Longeau
ok henning@
2014-05-02revert __bounded change; it causes way more problems for portable thanDamien Miller
it solves; pointed out by dtucker@
2014-05-01options first, then pager commands; also remove one non-standard Sh;Jason McIntyre
2014-05-01STANDARDS is no longer relevant to this page, so remove it; while here,Jason McIntyre
zap some trailing whitespace introduced in recent update
2014-05-01the beginning of removing more details from this page, since we now haveJason McIntyre
a separate more(1): it's a big page so i'm doing it in bits. in this commit, remove more stuff from SYNOPSIS, remove some cleverness from SYNOPSIS, and use consistent argument names;
2014-05-01update currency exchange rates;Jason McIntyre
2014-04-30UMAC can use our local fallback implementation of AES when OpenSSL isn'tChristian Weisgerber
available. Glue code straight from Ted Krovetz's original umac.c. ok markus@
2014-04-30tidy up SYNOPSIS, usage() and the options list; ok sthenJason McIntyre
2014-04-30New buffer API; the first installment of the conversion/replacementDamien Miller
of OpenSSH's internals to make them usable as a standalone library. This includes a set of wrappers to make it compatible with the existing buffer API so replacement can occur incrementally. With and ok markus@ Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew Dempsky and Ron Bowes for a detailed review.
2014-04-29fcntl.h is still needed here.Nicholas Marriott
2014-04-29Don't attempt to append a nul quote char to the filename. Should preventDarren Tucker
fatal'ing with "el_insertstr failed" when there's a single quote char somewhere in the string. bz#2238, ok markus@
2014-04-29Move nulling of variable next to where it's freed. ok markus@Darren Tucker
2014-04-29make compiling against OpenSSL optional (make OPENSSL=no);Markus Friedl
reduces algorithms to curve25519, aes-ctr, chacha, ed25519; allows us to explore further options; with and ok djm
2014-04-29re-add our own aesctr implementation; ok djm@Markus Friedl
2014-04-29re-add our own aesctr implementation; ok djm@Markus Friedl
2014-04-29Move traceroute6 to the attic, fully merged into traceroute.Florian Obser
2014-04-29bz#1818 - don't send channel success/failre replies on channels thatDamien Miller
have sent a close already; analysis and patch from Simon Tatham; ok markus@
2014-04-29Remove support for the obsolete (non-POSIX) "more -d" prompt.Todd C. Miller
This was a local change that was only enabled when the LESS_IS_MORE environment variable was set and not when invoked as "more". OK shadchin@ jmc@
2014-04-29fix a test for invalid timezonesJonathan Gray
oks from a bunch of people
2014-04-28Ignore IRIX6-compatible archive map on mips64 platform, since the mips64Miod Vallat
toolchain creates them. This lets nm -w correctly return 0 for valid archives. ok jasper@ deraadt@
2014-04-28check for integer overflows in custom allocs, okay jca@Marc Espie
2014-04-28buffer_get_string_ptr's return should be const to remindDamien Miller
callers that futzing with it will futz with the actual buffer contents
2014-04-27Improve error handling in dbopen(). If PRAGMA SQL statements fail,Ingo Schwarze
report the error, close the database, and return failure from dbopen(), such that the main program can recover and rebuild the database. As noticed by stsp@, this can happen when database files are accessible, but corrupt or in the wrong format, which will now automatically be repaired. Besides, use a safer idiom after sqlite3_open*() failure that also handles out-of-memory situations correctly, and do not forget to close the database after CREATE TABLE failure.
2014-04-27For LUNA88K, make sure the architecture name shown to the userIngo Schwarze
matches the architecture name required for man -S and apropos -S. Adjust the case of LUNA68K to match the case of LUNA88K. ok aoyama@
2014-04-27Fix library search order in our libtool.Vadim Zhukov
Before, libtool first searched all directories for .la files, and if search failed, switched to actual libraries (.so/.a). But the correct way is to check each directory first for .la, then for .so/.a. The problem was reported by ajacoutot@ who verified that the patch fixes his case and okay'ed the initial diff. And jasper@'s bulk uncovered a bug which is fixed now (verified by another bulk).