summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-11-19hyrogen bomb related fixes, prompted by Carson Chittom; dates moved toOtto Moerbeek
UTC. ok tb@ jmc@
2016-11-18Fix two documentation bugs:Ingo Schwarze
1. Specifying a precision for the %s format character limits the number of bytes printed, not the number of characters. 2. Document the intentional POSIX violation of ignoring the locale. Feedback and OK jmc@, bentley@.
2016-11-18Delete useless call to setlocale(3).Ingo Schwarze
While the C library function printf(3) is used here and is locale-dependent, the printf(1) utility does not use the locale dependent parts %lc and %ls. While POSIX requires LC_NUMERIC support, we intentionally don't implement that in printf(3). In summary, no functional change. While here, sort headers and use the usual __dead usage() idiom. Based on a patch from Jan Stary <hans at stare dot cz>. OK bentley@
2016-11-17Key running commands for #() by the unexpanded command, and run themNicholas Marriott
again if the expanded form changes (otherwise at most once per second as usual). Fixes issues reported by Gregory Pakosz.
2016-11-16Fix calculation of whether we need a region for drawing a cell (only ifNicholas Marriott
full width and at the edge of the region), otherwise clear the region entirely.
2016-11-16Don't error if renaming a session to its current name, from shik dotNicholas Marriott
chen at gmail dot com.
2016-11-16Do not stop dragging when the wheel is pressed, from Artem Fokin.Nicholas Marriott
2016-11-16Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin.Nicholas Marriott
2016-11-16The target validity check used window_pane_visible but that may be falseNicholas Marriott
if the pane is zoomed, so instead add a new function to just check if the pane is actually on screen (most commands still want to accept panes invisible by zoom). Also reject panes outside the window for various special targets. Problem reported by Sean Haugh.
2016-11-15Turn on margins, with a couple of fixes (only limit to the pane for lineNicholas Marriott
feeds, and do not move cursor to end for full width panes).
2016-11-15And of course I just find a bug, disable previous for now.Nicholas Marriott
2016-11-15Initial attempt to make use of left and right margins if the terminalNicholas Marriott
supports them (that is, if it advertises itself as a VT420 - probably just xterm). These are the vertical equivalent of the scroll region and allow much faster scrolling of panes that do not take up the full width of the terminal.
2016-11-15Add copy-pipe-and-cancel, from Artem Fokin.Nicholas Marriott
2016-11-14rotate-window needs to unzoom, problem reported by Sean Haugh.Nicholas Marriott
2016-11-12Apply the right fix for run -b, used the wrong diff before.Nicholas Marriott
2016-11-12Do not execute commands for a client until it has identified, fixesNicholas Marriott
problem reported by Frank Terbeck.
2016-11-11Print the route cached at the inp with netstat -P. While there,Alexander Bluhm
fix a compiler warning about missing prototype. OK claudio@ mpi@
2016-11-11Do not crash with run-shell -b and no window pane available, reported byNicholas Marriott
Sergei Dyshel.
2016-11-10missing semicolon at end of rule. yacc doesn't seem to mind, though.Ted Unangst
from Edakawa
2016-11-10warn about trailing whitespace at the end of comments;Ingo Schwarze
missing feature noticed by jmc@
2016-11-08unbreak DenyUsers; reported by henning@Damien Miller
2016-11-08document improved tagging functionalityIngo Schwarze
2016-11-08use .Fn in custom sections for tagging, in addition to in DESCRIPTION;Ingo Schwarze
written on the TGV Paris-Strassbourg
2016-11-08tag leading .Dv, .Li, and .No in .It;Ingo Schwarze
written on the TGV Paris-Strassbourg
2016-11-08implement tag priority 0, which will tag only keys that appear asIngo Schwarze
tag candidates exactly once, and use it for .Em and .Sy; written on the TGV Toulouse-Paris
2016-11-08generate two tag entries from list entries of the formIngo Schwarze
.It Macro tag1 ... | Macro tag2 ... written on the TGV Toulouse-Paris
2016-11-08skip leading \& and \e in tagsIngo Schwarze
2016-11-08support more than one tag entry for the same search term;Ingo Schwarze
general idea discussed with bcook@ during l2k16
2016-11-06tweak previous;Jason McIntyre
2016-11-06rename tlslegacy to tlsall, and better describe what it does.Bob Beck
ok jsing@
2016-11-06Bump ftp(1)'s cipher default from "all" to "legacy" - this really shouldJoel Sing
be "compat", but that will require further testing. ok beck@
2016-11-06Validate address ranges for AllowUser/DenyUsers at configuration loadDamien Miller
time and refuse to accept bad ones. It was previously possible to specify invalid CIDR address ranges (e.g. djm@127.1.2.3/55) and these would always match. Thanks to Laurence Parry for a detailed bug report. ok markus (for a previous diff version)
2016-11-05Remove syscall.ph from vi.recoverAndrew Fresh
since perl-5.10 chdir supports fchdir ok guenther@
2016-11-05zap trailing whitespace, and add -o to usage() and help (-h);Jason McIntyre
2016-11-05Add support for server side OCSP stapling to libtls.Bob Beck
Add support for server side OCSP stapling to netcat.
2016-11-04Do not try to set the CHANGED flag on windows with no active pane, fixesNicholas Marriott
problem reported by Nelo-T Wallus.
2016-11-04enum values need to fit in 32 bits; we only use enum for numbering andNicholas Marriott
Unicode characters fit in 24 bits, so we can leave key_code as 64 bits and change KEYC_BASE down to 0x10000000.
2016-11-04new sentence, new line, and zap trailing whitespace;Jason McIntyre
2016-11-04Add ocsp_require_stapling config option for tls - allows a connectionBob Beck
to indicate that it requires the peer to provide a stapled OCSP response with the handshake. Provide a "-T muststaple" for nc that uses it. ok jsing@, guenther@
2016-11-03Don't use ce_time if we are running as a server, it won't be present.Joris Vink
2016-11-03make OCSP_URL only show up when an OCSP url is actually present in the certBob Beck
2016-11-03Make OCSP Stapling: only appear if there is stapling info present.Bob Beck
2016-11-03Also ignore --no-undefined (we already ignore -no-undefined) which isAntoine Jacoutot
starting to show up more and more. ok jasper@
2016-11-02Add OCSP client side support to libtls.Bob Beck
- Provide access to certificate OCSP URL - Provide ability to check a raw OCSP reply against an established TLS ctx - Check and validate OCSP stapling info in the TLS handshake if a stapled OCSP response is provided.` Add example code to show OCSP URL and stapled info into netcat. ok jsing@
2016-11-02Make an empty state on error rather than leaving something partiallyNicholas Marriott
created (which now is now a fatal() later).
2016-11-01Clear window alert flags after setting winlink alert flags, fixes problemNicholas Marriott
reported by Tommy Allen.
2016-11-01update currency exchange rates;Jason McIntyre
2016-10-31Delete setlocale(LC_TIME, "").Ingo Schwarze
The only place where this could potentially get used was the strftime(3) for fprintf(3) "job %s at %s\n" to stderr. We don't want base system utilities to talk to users in foreign languages. No functional change on OpenBSD which doesn't provide any non-standard LC_TIME locale anyway. Patch from Jan Stary <hans at stare dot cz>. In main(), exit -> return while here. OK millert@
2016-10-28Document that "nl -d" uses LC_CTYPE.Ingo Schwarze
Triggered by an incorrect patch from Jan Stary. Feedback and OK jmc@, OK millert@.
2016-10-28Document that rev(1) uses LC_CTYPE.Ingo Schwarze
Triggered by an incorrect patch from Jan Stary. While here, add an .Xr to cut(1). OK millert@ jmc@