audio: make get_props() optional, remove it from duplex drivers

2022-10-25 Thread Klemens Nanni
The property bits of audio(9) are obsolete and ought to be removed completely. sys/dev/audio.c:audio_open() currently uses get_props() to bail out if read *and* write was requested on a driver non-duplex driver. Drivers that currently support playing but not recording need a little adjustment for

Re: M1 Macmini lost hw.cpuspeed

2022-10-25 Thread Lucas Raab
On Mon, Oct 24, 2022 at 04:37:14PM +0200, Otto Moerbeek wrote: > On Mon, Oct 24, 2022 at 04:15:40PM +0200, Mark Kettenis wrote: > > > > Date: Mon, 24 Oct 2022 14:52:00 +0200 > > > From: Robert Nagy > > > > > > On 24/10/22 14:49 +0200, Theo Buehler wrote: > > > > On Mon, Oct 24, 2022 at 09:24:14A

Re: mg: handle prefix argument in shell-command{,-on-region}

2022-10-25 Thread Omar Polo
On 2022/10/13 12:25:00 +0200, Omar Polo wrote: > shell-command (M-!) and shell-command-on-region (M-|) works by > displaying the output of the command in a new buffer, but in emacs > using a prefix argument (C-u) allows to operate on the current buffer. > > diff belows adds that for mg. I can fi

Re: netstart: trim DESCRIPTION

2022-10-25 Thread Klemens Nanni
On Tue, Oct 25, 2022 at 11:07:33AM +0100, Jason McIntyre wrote: > i'm ok with this. however it is really *a* command script, rather than *the* > command script. Sure, i fixed my local diff.

netstart: improve shell style

2022-10-25 Thread Klemens Nanni
The mixed use of upper and lower case variables is neither obvious nor consistent. PRINT_ONLY is local to netstart. ip6kernel is local to netstart. multicast gets sources from rc.subr(8). 1. uppercase ip6kernel as is common for global variables in base scripts 2. use the simpler true/false idiom

Re: netstart: trim DESCRIPTION

2022-10-25 Thread Jason McIntyre
i'm ok with this. however it is really *a* command script, rather than *the* command script. jmc On 25 October 2022 10:47:21 BST, Klemens Nanni wrote: >- just call it (a sh(1)) script, in line with MAKEDEV(8) and rc.d(8) >- use only .Nm thereafter instead of .Nm/the .Nm script/... >- zap the ad

netstart: trim DESCRIPTION

2022-10-25 Thread Klemens Nanni
- just call it (a sh(1)) script, in line with MAKEDEV(8) and rc.d(8) - use only .Nm thereafter instead of .Nm/the .Nm script/... - zap the additional rc.conf(8) bits for they can be found in there - zap unhelpful "(or can be)" Feedback? Objection? OK? Index: netstart.8 ==