summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2023-01-09shorten SYNOPSIS from three versions to two (me) then one (ratchov),Jason McIntyre
plus all the cleanup that goes with; ok ratchov
2023-01-09Fix behaviour with \007 (used the wrong tree for last change).Nicholas Marriott
2023-01-09Accept \007 as terminator to OSC 10 or 11.Nicholas Marriott
2023-01-08Fix parsing of optional arguments so that and accept a - starting anNicholas Marriott
argument.
2023-01-08Have client return 1 if process is interrupted to an input pane.Nicholas Marriott
2023-01-08Restore code to handle wcwidth failure so that unknown codepoints stillNicholas Marriott
do the most likely right thing. GitHub issue 3427, patch based on an diff from Jesse Luehrs in GitHub issue 3003.
2023-01-08Quotes are now required in select-layout example.Nicholas Marriott
2023-01-08- tweak the text relating to -wJason McIntyre
- sync usage() and SYNOPSIS ok ratchov
2023-01-08Add -w option to display variables periodicallyAlexandre Ratchov
The purpose of -w is to monitor underruns without triggering long kernel code-paths (ex. fork and exec of new audioctl process) that may cause additional underruns than the ones being monitored. ok chehola, edd
2023-01-07Add argument and return support for {get,set}thrname()Philip Guenther
2023-01-07Add {get,set}thrname(2) for putting thread names in the kernel andPhilip Guenther
exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set, in ps -H and top -H output. libc and libpthread minor bumps ok mpi@, mvs@, deraadt@
2023-01-06tweak previous; ok djmJason McIntyre
2023-01-06If a pane is killed, cancel reading from the file. GitHub issue 3422.Nicholas Marriott
2023-01-06Implement channel inactivity timeoutsDamien Miller
This adds a sshd_config ChannelTimeouts directive that allows channels that have not seen traffic in a configurable interval to be automatically closed. Different timeouts may be applied to session, X11, agent and TCP forwarding channels. Note: this only affects channels over an opened SSH connection and not the connection itself. Most clients close the connection when their channels go away, with a notable exception being ssh(1) in multiplexing mode. ok markus dtucker
2023-01-06Add channel_set_xtype()Damien Miller
This sets an "extended" channel type after channel creation (e.g. "session:subsystem:sftp") that will be used for setting channel inactivity timeouts. ok markus dtucker
2023-01-06tweak channel ctype namesDamien Miller
These are now used by sshd_config:ChannelTimeouts to specify timeouts by channel type, so force them all to use a similar format without whitespace. ok dtucker markus
2023-01-06Add channel_force_close()Damien Miller
This will forcibly close an open channel by simulating read/write errors, draining the IO buffers and calling the detach function. Previously the detach function was only ever called during channel garbage collection, but there was no way to signal the user of a channel (e.g. session.c) that its channel was being closed deliberately (vs. by the usual state-machine logic). So this adds an extra "force" argument to the channel cleanup callback to indicate this condition. ok markus dtucker
2023-01-06replace manual poll/ppoll timeout math with ptimeout APIDamien Miller
feedback markus / ok markus dtucker
2023-01-06add ptimeout API for keeping track of poll/ppoll timeouts;Damien Miller
ok dtucker markus
2023-01-05suppress "Connection closed" message when in quiet modeDamien Miller
2023-01-05Delete remnants of removed "diff -l" option.Todd C. Miller
From Nathan Houghton
2023-01-04minor text shuffle, for clarity; ok millertJason McIntyre
2023-01-04Eduardo Horvath agreed to rescind clause 3 and 4 inJonathan Gray
NetBSD fgen.1 rev 1.9 cpu_in_cksum.S rev 1.2 https://mail-index.netbsd.org/source-changes/2009/10/19/msg002130.html
2023-01-04ugly white spaceTheo de Raadt
2023-01-04- use Fl instead of Ar for print0; from josiah frentsosJason McIntyre
- while here, describe it as a primary rather than an option
2023-01-03Query the client terminal for foreground and background colours and ifNicholas Marriott
OSC 10 or 11 is received but no colour has been set inside tmux, return the colour from the first attached client (probably most people will have all light or or all dark terminals).
2023-01-02fix bug in PermitRemoteOpen which caused it to ignore its firstDamien Miller
argument unless it was one of the special keywords "any" or "none". Reported by Georges Chaudy in bz3515; ok dtucker@
2022-12-29Add ktrace struct tracepoints for siginfo_t to the kernel side ofPhilip Guenther
waitid(2) and __thrsigdivert(2) and teach kdump(1) to handle them. Also report more from the siginfo_t inside PSIG tracepoints. ok mpi@
2022-12-28systat(1): vmstat: dinfo(): compute rates using real elapsed timeScott Soule Cheloha
The "naptime" value is not the real elapsed time. But showkre() has the real elapsed time, "etime", so pass that as argument to dinfo(). Link: https://marc.info/?l=openbsd-tech&m=167095169115427&w=2 ok millert@
2022-12-28the S in CSRC is Science not SciencesJonathan Gray
2022-12-26tweak the -f text; ok florianJason McIntyre
2022-12-26spelling fix; from paul tagliamonteJason McIntyre
ok tb
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
ok florian
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
amendments to his diff are noted on tech
2022-12-26Implement support for personal units library.Florian Obser
With -f one could read an alternative library but it would replace the standard units library, not add to it. Allow passing -f multiple times to read all files and merge them together. Passing the empty string, i.e. -f '' reads the default units library. This is implemented in at least FreeBSD and Linux. OK miod
2022-12-26spelling fixes from paul tagliamonte;Jason McIntyre
part of a larger diff: i'm committing this separately as i changed statuses to status;
2022-12-26revert previous: just as i get to replying, i find sthen's note. this partJason McIntyre
of the diff is not for me.
2022-12-26emited -> emitted;Jason McIntyre
from paul tagliamonte
2022-12-23remove "-p protocol" from the -r synopsis: it no longer makes senseJason McIntyre
pointed out by pguemther ok pguenther kn claudio
2022-12-22Denote multiple arguments with 'arg ...' not 'args'Klemens Nanni
A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation. mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour. Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place. For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words. Feedback millert jmc schwarze deraadt OK jmc
2022-12-22move the flag mappings displayed by "route show" from netstat(1) to route(8):Jason McIntyre
diff from paul tagliamonte, who was surprised to find them not documented in route(8); claudio agreed placement was not ideal; deraadt confirmed users better served by route(8) than netstat(1); i've tweaked some of the spacing and text so it displays better, and removed some macros incorrectly associated with the "nameserver" list item, which was messing up the formatting. should display better now
2022-12-20Add argument support for msyscall, pledge, unveil, __realpath,Philip Guenther
ypconnect, and __tmpfd. Reorder several other syscalls to match the order in syscalls.master ok deraadt@
2022-12-20If we don't have usecommonopt for our application we shouldn't check theMartijn van Duren
default values for snmp protocol level stuff. Makes snmp mibtree work again which got broken since the defaults changed back in 2021. Reported by Matthias Pitzl (pitzl <at> genua <dot> de) Hint to use usecommonopt and OK gerhard@
2022-12-19Improve reporting of waitid(2)'s idtype/id and options argumentsPhilip Guenther
Add mimmutable(2) to report like munmap(2)
2022-12-19Allow send-keys without a client again, reported by Stefan Hagen.Nicholas Marriott
2022-12-18nc: skip connection info on failed or skipped udptest()Theo Buehler
In udp mode, nc would always print that the connected succeeded independently of whether that was actually the case. Don't do that. idea/ok mpf
2022-12-18nc: do not test the connection in non-interactive modeTheo Buehler
The connection test writes four X to the socket, which corrupts data that we may want to pipe into nc. So don't do that if stdin is not a tty but still do it in scan mode, this is needed according to chris. based on a diff by and ok mpf
2022-12-18nc: clean up and simplify connection_infO()Theo Buehler
ok mpf as part of a larger diff
2022-12-18nc: pass protocol name to connection_info()Theo Buehler
Avoids repeated use of ternary operator on globals.
2022-12-18nc: factor printing of connection info into a functionTheo Buehler
This simply moves a chunk of code in this spaghetti mess into its own function with minimal changes. idea from a diff by mpf