Typos in ssh man pages

2021-04-04 Thread Matthias Schmidt
Hi, in the recent commits to ssh(d)_config.5 two typos slipped in (looks like classic "switch vi to edit mode" typo :)). Cheers Matthias diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index 5202196bce5..cf7391d9ce1 100644 --- a/usr.bin/ssh/ssh_config.5 +++

Re: printf.9: document limited conversion specification syntax

2021-04-04 Thread Jason McIntyre
On Sun, Apr 04, 2021 at 01:22:23AM +0200, Klemens Nanni wrote: > print(9) says it only documents differences and points at printf(3) for > identical/shared bits: > >DESCRIPTION > [...] > > Since each of these kernel functions is a variant of its user space > counterpart, this

Re: mandoc: -Tlint: search /usr/local/man as well

2021-04-04 Thread Jason McIntyre
On Sat, Apr 03, 2021 at 02:33:05AM +0200, Klemens Nanni wrote: > It has always bothered me that linting manuals complained about missing > manuals from packages despite their path being part of the default > MANPATH: > > No local man(1) config: > > $ echo $MANPATH > ksh: MANPATH:

Re: Typos in ssh man pages

2021-04-04 Thread Jason McIntyre
On Sun, Apr 04, 2021 at 11:25:56AM +0200, Matthias Schmidt wrote: > Hi, > > in the recent commits to ssh(d)_config.5 two typos slipped in (looks like > classic "switch vi to edit mode" typo :)). > > Cheers > > Matthias > fixed, thanks. jmc > > diff --git a/usr.bin/ssh/ssh_config.5

Re: mandoc: -Tlint: search /usr/local/man as well

2021-04-04 Thread Klemens Nanni
On Sun, Apr 04, 2021 at 03:42:03PM +0200, Tim van der Molen wrote: > Doesn't mandoc -Tlint -Wstyle do what you want? I don't think so. Oddly enough, `-Wstyle' does not do what I would expect: it omits STYLE messages instead of printing them. From mandoc -W level Specify the

Re: printf.9: document limited conversion specification syntax

2021-04-04 Thread Jason McIntyre
yep, better than mine. ok jmc On 4 April 2021 14:41:13 BST, Klemens Nanni wrote: >On Sun, Apr 04, 2021 at 07:17:27AM +0100, Jason McIntyre wrote: >> On Sun, Apr 04, 2021 at 01:22:23AM +0200, Klemens Nanni wrote: >> > @@ -119,6 +119,17 @@ send formatted strings to the ddb console, and >are onl >>

Re: printf.9: document limited conversion specification syntax

2021-04-04 Thread Theo de Raadt
Yep, all good Jason McIntyre wrote: > yep, better than mine. ok > jmc > > On 4 April 2021 14:41:13 BST, Klemens Nanni wrote: > >On Sun, Apr 04, 2021 at 07:17:27AM +0100, Jason McIntyre wrote: > >> On Sun, Apr 04, 2021 at 01:22:23AM +0200, Klemens Nanni wrote: > >> > @@ -119,6 +119,17 @@ send

Re: mandoc: -Tlint: search /usr/local/man as well

2021-04-04 Thread Tim van der Molen
(Sorry, now with reply all.) Tim van der Molen (2021-04-04 17:08 +0200): > Klemens Nanni (2021-04-04 15:54 +0200): > > On Sun, Apr 04, 2021 at 03:42:03PM +0200, Tim van der Molen wrote: > > > Doesn't mandoc -Tlint -Wstyle do what you want? > > I don't think so. Oddly enough, `-Wstyle' does not

Re: uvideo(4) new quirk flag UVIDEO_FLAG_NOATTACH

2021-04-04 Thread Marcus Glocker
This diff shouldn't impact any other uvideo(4) devices so I would welcome somebody brave to OK this :-) Thanks, Marcus On Fri, 26 Mar 2021 10:15:58 +0100 Martijn van Duren wrote: > I'm in no way qualified to OK this, but I'd like to see this get in, > because it does help me out :-) > >

simpleaudio: set sysclk before using it

2021-04-04 Thread Klemens Nanni
Feedback? Objections? OK? diff c154c5b3e913ab7299483002bea9fb9782684007 274222c1624a27cde904e8964e7b663a3d0750d8 blob - 59cda075c0a8ec80308c145ca8dfab78f36816ef blob + 0bbe4da7bf8ee03806130833b63cd3245b79f196 --- sys/dev/fdt/simpleaudio.c +++ sys/dev/fdt/simpleaudio.c @@ -300,24 +300,6 @@

Re: Add /dev/video0 to fbtab

2021-04-04 Thread Marcus Glocker
Thanks for your feedback Matthias. Unfortunately there wasn't too much acceptance for this diff from the community, so it's unlikely that it will make it in to the tree. Cheers, Marcus On Sat, 3 Apr 2021 10:25:58 +0200 Matthias Schmidt wrote: > Hi, > > * Marcus Glocker wrote: > > On Thu, Feb

unwind(8): open ports before daemonizing

2021-04-04 Thread Dave Voutila
I noticed on my laptop that if I tried to start unwind(8) via rcctl(8) while I already had some other process bound to tcp/udp port 53 (e.g. unbound(8)), rcctl(8) would falsely report the service started "ok" while in /var/log/daemon unwind(8) would report: fatal in main: could not bind to

Re: mandoc: -Tlint: search /usr/local/man as well

2021-04-04 Thread Tim van der Molen
Klemens Nanni (2021-04-03 02:33 +0200): > It has always bothered me that linting manuals complained about missing > manuals from packages despite their path being part of the default > MANPATH: > > No local man(1) config: > > $ echo $MANPATH > ksh: MANPATH: parameter not set >

Re: printf.9: document limited conversion specification syntax

2021-04-04 Thread Klemens Nanni
On Sun, Apr 04, 2021 at 07:17:27AM +0100, Jason McIntyre wrote: > On Sun, Apr 04, 2021 at 01:22:23AM +0200, Klemens Nanni wrote: > > @@ -119,6 +119,17 @@ send formatted strings to the ddb console, and are onl > > Since each of these kernel functions is a variant of its user space > >

ksh: fix input handling for 4 byte UTF-8 sequences

2021-04-04 Thread Sören Tempel
Hello, Currently, ksh does not correctly calculate the length of 4 byte UTF-8 sequences in emacs input mode. For demonstration purposes try inputting an emoji (e.g. U+1F421) at your shell prompt. These 4 byte sequences can be identified by checking if the first four bits are set and the fifth bit

ddb: show all mounts: honour softdep

2021-04-04 Thread Klemens Nanni
My earlier report made me question my fstab(5) contents because filesystems mounted with "softdep" would not have the SOFTDEP flag printed in ddb(4)'s `show all mounts' output. Turns out ddb simply ignores the bit, but I'd argue using softdep or not can be important information, so add it

Re: mandoc: -Tlint: search /usr/local/man as well

2021-04-04 Thread Tim van der Molen
Tim van der Molen (2021-04-04 17:12 +0200): > Tim van der Molen (2021-04-04 17:08 +0200): > > AFAIK, -Wstyle does include style messages, but it leaves out the > > OpenBSD-specific ones. For example: > > > > $ echo '.Dd April 4, 2021\n.Os' | mandoc -Tlint > > mandoc: :1:5: STYLE: Mdocdate

Re: Remove unused variables in bin/ps

2021-04-04 Thread Klemens Nanni
On Sun, Feb 14, 2021 at 03:21:45PM +0100, Daniel Kovacic wrote: > I stumbled upon some compiler warnings in bin/. > > This diff removes two unused variables in bin/ps/print.c. > > I hope that such tiny contributions are welcome. > For me, it's a test of whether I am contributing the right way.

Re: simpleaudio: set sysclk before using it

2021-04-04 Thread Klemens Nanni
On Sun, Apr 04, 2021 at 10:01:50PM +0200, Mark Kettenis wrote: > > Date: Sun, 4 Apr 2021 21:08:09 +0200 > > From: Klemens Nanni > > > > Feedback? Objections? OK? > > Explanation? > > Not sure what happened here, but the reply-to was completely garbled... Sorry, I must've crippled the body

Re: simpleaudio: set sysclk before using it

2021-04-04 Thread Mark Kettenis
> Date: Sun, 4 Apr 2021 22:24:57 +0200 > From: Klemens Nanni > Cc: Mark Kettenis > > On Sun, Apr 04, 2021 at 10:01:50PM +0200, Mark Kettenis wrote: > > > Date: Sun, 4 Apr 2021 21:08:09 +0200 > > > From: Klemens Nanni > > > > > > Feedback? Objections? OK? > > > > Explanation? > > > > Not

Re: highest/lowest weight in bgpd man pages

2021-04-04 Thread Klemens Nanni
On Sat, Apr 03, 2021 at 10:53:58PM -0400, Daniel Jakots wrote: > Hi, > > I was reading bgpd.conf(5) on how to set the weight. It says: > > > For prefixes with equally long paths, the prefix with the larger > > weight is selected. > > However, in bgpd(8), it says: > > > 8. The path with the

Re: simpleaudio: set sysclk before using it

2021-04-04 Thread Mark Kettenis
> Date: Sun, 4 Apr 2021 21:08:09 +0200 > From: Klemens Nanni > > Feedback? Objections? OK? Explanation? Not sure what happened here, but the reply-to was completely garbled... > diff c154c5b3e913ab7299483002bea9fb9782684007 > 274222c1624a27cde904e8964e7b663a3d0750d8 > blob -

Re: monotonic time going back by wrong skews

2021-04-04 Thread Scott Cheloha
On Mon, Mar 29, 2021 at 02:00:01PM +0900, YASUOKA Masahiko wrote: > On Thu, 25 Mar 2021 19:41:35 +0100 (CET) > Mark Kettenis wrote: > >> From: Scott Cheloha > >> Date: Thu, 25 Mar 2021 13:18:04 -0500 > >> > On Wed, Mar 24, 2021 at 05:40:21PM +0900, YASUOKA Masahiko wrote: > >> Which diff did you