summaryrefslogtreecommitdiffstats
path: root/usr.bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Check previous line rather than an extra line, from Anindya Mukherjee.nicm2020-04-031-6/+3
|
* fix format string (use %llu for uint64, not %lld). spotted by Darren anddjm2020-04-031-4/+4
| | | | his tinderbox tests
* Add a flag to re-enable verbose output when in batch mode;djm2020-04-032-6/+16
| | | | requested in bz3135; ok dtucker
* chacha20-poly1305 AEAD using libcrypto EVP_chacha20djm2020-04-032-2/+161
| | | | | Based on patch from Yuriy M. Kaminskiy. ok + lots of assistance along the way at a2k20 tb@
* make Chacha20-POLY1305 context struct opaque; ok tb@ as part of a largerdjm2020-04-033-21/+35
| | | | diff at a2k20
* fix debug statementdjm2020-04-031-2/+2
|
* the tunnel-forwarding vs ExitOnForwardFailure fix that I committeddjm2020-04-031-3/+14
| | | | | earlier had an off-by-one. Fix this and add some debugging that would have made it apparent sooner.
* %C expansion just added to Match Exec should include remote user not localdtucker2020-04-031-2/+2
| | | | user.
* make failures when establishing "Tunnel" forwarding terminate thedjm2020-04-033-27/+47
| | | | connection when ExitOnForwardFailure is enabled; bz3116; ok dtucker
* Make with config keywords support which percent_expansions more consistent.dtucker2020-04-034-88/+92
| | | | | | | | | | | - %C is moved into its own function and added to Match Exec. - move the common (global) options into a macro. This is ugly but it's the least-ugly way I could come up with. - move IdentityAgent and ForwardAgent percent expansion to before the config dump to make it regression-testable. - document all of the above ok jmc@ for man page bits, "makes things less terrible" djm@ for the rest.
* give ssh-keygen the ability to dump the contents of a binary keydjm2020-04-037-14/+113
| | | | revocation list: ssh-keygen -lQf /path bz#3132; ok dtucker
* add allocating variant of the safe utf8 printer; ok dtucker as part ofdjm2020-04-032-2/+18
| | | | a larger diff
* When the last file formatted yielded no tags, the tags file gotschwarze2020-04-026-85/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | deleted before starting the pager, even when earlier input files had written to it; thanks to weerd@ for reporting that bug. Since we now generate tags for section headers, we almost always generate at least some. Consequently, while fixing the above bug, simplify the code by never deleting the tags file before the pager exits, not even in the rare case that the file happens to be empty. Hence, this patch is -75 +63 LOC even though it fixes two bugs. While deleting the output files belongs after exit from the pager, closing them should be done before it is started. Collect the related code, which was scattered in various places, to where it belongs, in a dedicated function in the term_tag.c module. As a side benefit, never fclose(2) stdout, only dup2(2) to it. Similarly, when the -O tag argument wasn't found in the last file formatted, there was a complaint about "no such tag" even when the argument did occur in earlier files. Fix that by looking for a matching tag after every formatted file rather than just once at the very end. Given that command line arguments aren't properties of the file(s) being formatted, that check is a job for the main program, not for the formatters, so while fixing the check, move it from term_tag.c to main.c.
* Only search the visible part of the history when marking (highlighting)nicm2020-04-021-2/+25
| | | | search terms, much faster than searching the whole history.
* Replace a bunch of hand rolled date / time math with gmtime(3).florian2020-04-022-87/+24
| | | | | | | | | While here fix dns_time64_from32() to correctly deal with unsigned 32 bit cyclic time that I accidentally broke when I switched "now" from isc_std_time (unsiged 32 bit) to time_t (64 bit). input kettenis, millert, otto, cheloha OK cheloha
* Copy tagged strings before marking hyphens as breakable.schwarze2020-04-021-4/+8
| | | | For example, this makes ":tCo-processes" work in ksh(1).
* Add a W position to display-menu -y to use the line above (or below) thenicm2020-04-023-18/+50
| | | | | status line containing the window list. Leave S meaning above (or below) all status lines. GitHub issue 2145.
* Just like we are already doing it in HTML output, automatically tagschwarze2020-04-012-27/+39
| | | | | | | section and subsection headers in terminal output, too. Even though admittedly, commands like "/SEE" and "/ Subsec" work, too, there is no downside, and besides, with the recent improvements in the tagging framework, implementation cost is negligible.
* If no -q options are used, expose first 8 midi(4) devices to sndiod clientsratchov2020-04-012-4/+25
|
* Do not ignore triple-click and send to pane.nicm2020-04-011-2/+1
|
* Add a 10 second timeout to prevent searches taking too much time, fromnicm2020-04-011-6/+40
| | | | Anindya Mukherjee.
* Support mouse in popups.nicm2020-04-013-24/+51
|
* Do not go down the regex search path (which is expensive because we neednicm2020-04-011-5/+9
| | | | | | to convert the grid data into a string for regexec and reverse it to find the grid position) if the search string does not contain any regex special characters.
* Use a comparison to check for wrap and avoid an expensive modulus.nicm2020-04-011-3/+4
|
* Performance improvements for regex searching, most notably:nicm2020-04-012-106/+145
| | | | | | | | | | | | | - Use the grid data directly instead of copying it. - Special case the most typical one byte character cells and use memcmp for multiple bytes instead of a handrolled loop. - Hoist regcomp out of the loop into the calling functions. GitHub issue 2143. Also a man page from from jmc@.
* update currency exchanges rates;jmc2020-04-011-41/+41
|
* Add a way to mark environment variables as "hidden" so they can be usednicm2020-03-3113-46/+111
| | | | by tmux but are not passed into the environment of new panes.
* Add a -T flag to resize-pane to trim lines below the cursor, movingnicm2020-03-313-6/+35
| | | | lines out of the history. GitHub issue 2134.
* Add non-regex search variants to avoid the performance cost for peoplenicm2020-03-313-48/+119
| | | | with large histories or long lines.
* Add session_path from Chris Ruegge in GitHub issue 2142.nicm2020-03-312-2/+4
|
* Add a "second click" key type which is fired for the second click of anicm2020-03-314-13/+75
| | | | | | | double click, even if the timer hasn't expired to confirm it isn't actually a triple click. Provides a way for people who don't care about triple clicks or can make their commands have no side effects to avoid the double click timer delay.
* Move alternate screen into the screen rather than the pane.nicm2020-03-317-95/+117
|
* Detach reply escape sequences from the pane so they work in popups.nicm2020-03-315-27/+24
|
* Don't send "control changed" messages when hardware controls are set.ratchov2020-03-311-2/+2
| | | | | This sends twice the "control changed" messages because a second message will be sent upon the notification from the hardware.
* Tweak key numbers to avoid some special keys crossing over with modifier bits.nicm2020-03-301-14/+14
|
* Add to rather than replace flags with -c.nicm2020-03-301-2/+2
|
* Do not check flags after the popup struct has been freed.nicm2020-03-301-4/+3
|
* Even though the HTML, man, markdown, PDF, PostScript, and tree formattersschwarze2020-03-281-13/+10
| | | | | | never write a ctags(1) file, using a pager still requires writing the main output file and passing the file name to the pager. Recent regression mentioned on IRC and reported by kn@.
* Change default position for menu and popup to centre rather than top left.nicm2020-03-281-8/+4
|
* Make two -E only close popup automatically if the command exited with 0.nicm2020-03-284-6/+17
|
* Fix how popup height is calculated to take embedded newlines into account.nicm2020-03-283-7/+26
|
* Add formats for top paste buffer by default. Also a tmux.1 fix from jmc.nicm2020-03-282-4/+10
|
* unused constantsflorian2020-03-271-16/+1
|
* When doing a loop inside a loop for input validation make sure that themartijn2020-03-241-2/+4
| | | | | | continue statement for the outer loop is executed in the outer loop. Found the hard way by breaking snmpd(8) in my local tree.
* Add support for overlay popup boxes to show text or output temporarilynicm2020-03-2412-50/+763
| | | | | above the normal layout. These work similarly to menus and are created with the display-popup command.
* Sync to latest from wiz at netbsd, needed for upcoming sparc64 bootblk changes;otto2020-03-242-958/+1087
| | | | ok kettenis@
* Fix agent address parsing:martijn2020-03-221-41/+47
| | | | | | | | | | | - Allow IPv6 addresses to be used based on format. - Allow IPv6 addresses without brackets skip the port if it results in a nonsensical address. This allows us to use ::1 - Try to connect to the address immediately instead of only trying the socket. - Add pledge unix so we can actually create a unix socket. Feedback, additional testing and OK jan@
* AIX colours are always stored as 90-97, not 100-107. From Johannesnicm2020-03-211-10/+10
| | | | Altmanninger.
* Set end position correctly, GitHub issue 2129 from Anindya Mukherjee.nicm2020-03-211-3/+3
|
* Break code to convert an argument as a percentage into a common function.nicm2020-03-214-90/+89
|