summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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@
2016-10-28Delete some useless setlocale(3) calls in /usr/bin, no functional change.Ingo Schwarze
Patches from Jan Stary <hans at stare dot cz>, tweaked by me and tb@. While here, apply some simple style improvements: Sort headers, static void __dead usage(), return from main(), zap case '?', drop /* NOTREACHED */, drop break after usage(), ... OK tb@ millert@
2016-10-28there's a new mbuf cluster pool.David Gwynne
2016-10-28Improve pkcs11_add_provider() logging: demote some excessivelyDamien Miller
verbose error()s to debug()s, include PKCS#11 provider name and slot in log messages where possible. bz#2610, based on patch from Jakub Jelen
2016-10-27obvious case of s/LC_ALL/LC_CTYPE/, noticed by Jan StaryIngo Schwarze
2016-10-27minor whitespace fixes.Joris Vink
2016-10-27Fix many typos in comments, from Michael W. Bombardieri <mb at ii.net>Alexandre Ratchov
2016-10-26Buffer name can be NULL, check before strdup().Nicholas Marriott
2016-10-26Polishing together with jmc@:Ingo Schwarze
Avoid the impression that we unconditionally recommend LC_CTYPE=en_US.UTF-8. Make it clear that not all parts of the system fully support it yet. Collect the sentences drawing the big picture into a single paragraph, and move it to a less unusual place, right after the option list.
2016-10-26make it clear that the s/// numeric flag can containIngo Schwarze
more than one digit but cannot start with zero; feedback and OK jmc@, OK jca@, OK millert@ on an earlier version
2016-10-25Do not handle activity or silence alerts in the current window, reportedNicholas Marriott
by jasper@.
2016-10-25Fix logic in add_local_forward() that inverted a test when code wasJonathan Gray
refactored out into bind_permitted(). This broke ssh port forwarding for non-priv ports as a non root user. ok dtucker@ 'looks good' deraadt@
2016-10-24remove double semicolonJasper Lievisse Adriaanse
from Brian Callahan
2016-10-24As suggested by martijn@, delete absurd EXAMPLES section and twoIngo Schwarze
irrelevant .Xr links. While here, add two .Xr links that are relevant. OK martijn@ jmc@
2016-10-24Unify wording for LC_CTYPE in ENVIRONMENT:Ingo Schwarze
* Consistently use "character encoding locale" as suggested by stsp@. * Resolve various gratuitious wording variations. OK jmc@.
2016-10-24Document the LC_* variables in more detailIngo Schwarze
and explain what is special about locales in OpenBSD. Lots of feedback and OK jmc@.
2016-10-24Remove dead breaks, found via opencoverage.net. ok deraadt@Darren Tucker
2016-10-23Factor out "can bind to low ports" check into its own function. This will makeDarren Tucker
it easier for Portable to support platforms with permissions models other than uid==0 (eg bz#2625). ok djm@, "doesn't offend me too much" deraadt@.
2016-10-23zap trailing whitespace;Jason McIntyre
2016-10-23add !!=Marc Espie
feedback and okay millert@
2016-10-22cast off_t and uint64_t for printf(3)Ingo Schwarze
to make sure that widths match on all platforms; from Ed Maste <emaste at freebsd dot org>; OK guenther@
2016-10-21small obvious cleanups:Marc Espie
- remove a lot of unnecessary casts - zap extra param that's no longer needed - add proper prototype and make function static okay natano@
2016-10-21Add %%% to substitute with quotes escaped (convert " to \"). Use thisNicholas Marriott
for the prompts in copy mode. Fixes problems with jumping to ' reported by Theo Buehler.
2016-10-21Add missing information about the handling of input, output, andIngo Schwarze
character encoding, clarify the description of table mode, and say that columns are filled before rows by default. Feedback an OK jmc@, OK martijn@.
2016-10-200x%llu is a bad idea, make that 0x%llx;Ingo Schwarze
noticed while investigating a report from Ed Maste
2016-10-20st_size is off_t, which is signed, so use %lld rather than %llu;Ingo Schwarze
noticed by Ed Maste when compiling on FreeBSD
2016-10-20Move initialization of the helper process in its own routine to makeAlexandre Ratchov
code more readable. No bahavior change.
2016-10-20remove unused variablesAlexandre Ratchov
2016-10-19When tearing down ControlMaster connecctions, don't pollute stderr whenDarren Tucker
LogLevel=quiet. Patch from Tim Kuijsten via tech@.
2016-10-19Avoid the confusion that -a might require a section argument; it does not.Ingo Schwarze
Triggered by a question from <jmates at ee dot washington at edu>. OK jmc@.
2016-10-19Do not have a default binding for C-b in copy-mode-vi or it conflictsNicholas Marriott
with the default prefix. Reported by natano@.
2016-10-19Alerts are too slow, so rather than walking all sessions and windows,Nicholas Marriott
add a link of winlinks to each window and a pointer to the session to each winlink. Also rewrite the alerts processing to return to the old behaviour (alert in any window sets the flag on any winlink).
2016-10-19Move session-create hook out of session_create so it works with grouped ↵Nicholas Marriott
sessions.
2016-10-18The termination condition of the iteration logic in page_bymacro()Ingo Schwarze
was overzealous. Consequently, macro=substr and macro~regexp searches only returned all pages containing the first matching macro value, rather than all pages containing any of the matching macro values. Bug reported by tb@ - thanks!
2016-10-18Using bitwise OR along with two assignments in the conditional ofTodd C. Miller
a while() loop is a trap for the unwary programmer (albeit a clever trap). Break this up into two separate assignments and using boolean OR for clarity. OK otto@
2016-10-18Use the files in /var/db/acpi instead of trying to run acpidump.Mark Kettenis
ok brynet@
2016-10-18Clear cell entry with grid_default_entry not grid_default_cell.Nicholas Marriott
2016-10-18xterm-keys was in the wrong place in the list; Dilyan Palauzov.Nicholas Marriott
2016-10-18Remove channel_input_port_forward_request(); the only caller was theDarren Tucker
recently-removed SSH1 server code so it's now dead code. ok markus@
2016-10-18Add the branch revision to the status output much like GNU cvs does.Joris Vink
OK millert@
2016-10-18Make grid_clear_cell set up the entry properly for 256 and RGB cells.Nicholas Marriott
2016-10-18Fix a comment: We don't have manpath(1). No code change.Ingo Schwarze
2016-10-18Simplify and correct support for reproducible builds, such that databaseIngo Schwarze
entries come in a well-defined order even in the presence of MLINKS. Do this by using the compar() argument of fts_open(3) rather than trying to sort later, which missed some cases. This also shortens the code by a few lines. Diff from Ed Maste <emaste @ FreeBSD>, adapted to our tree and tweaked a bit by me, final version confirmed by Ed.
2016-10-18Tweak a couple of log statements.Nicholas Marriott
2016-10-18Install a signal handler for tty-generated signals and wait for theTodd C. Miller
ssh child to suspend before suspending sftp. This lets ssh restore the terminal mode as needed when it is suspended at the password prompt. OK dtucker@
2016-10-18Give each item on queue a name for better logging.Nicholas Marriott
2016-10-18Zero dirty count after flushing.Nicholas Marriott
2016-10-18Store the right size in the pipe offset for pipe-pane.Nicholas Marriott
2016-10-17/var/tmp -> /tmpLawrence Teo
From Jan Stary. "POSIX doesn't restrict us here" and ok schwarze@