Re: ucc(4): consumer control keyboard device driver

2021-08-19 Thread Anton Lindqvist
On Wed, Aug 18, 2021 at 12:01:53PM -0500, joshua stein wrote: > On Wed, 18 Aug 2021 at 18:48:45 +0200, Martin Pieuchot wrote: > > Regarding the introduction of a separate wskbd(4) this can be seen as an > > intermediate step. Having this logic in ukbd(4) implies revisiting the > > way reportID are

Re: Unplugging ure(4) during attach

2021-08-19 Thread Kevin Lo
On Wed, Aug 18, 2021 at 04:12:03PM +, Christian Ludwig wrote: > Hi, > > when plugging and unplugging an ure(4) adapter continuously, I came > across the following error with URE_DEBUG set: > > ure0 at uhub0 port 21 configuration 1 interface 0 "Realtek USB 10/100/1000 > LAN" rev 3.00/30.00 a

Re: ssh match.c: Remove always true condition

2021-08-19 Thread Damien Miller
On Thu, 19 Aug 2021, Martin Vahlensieck wrote: > Ping. > > On Tue, Aug 10, 2021 at 04:33:52PM +0200, Martin Vahlensieck wrote: > > Ping, diff reattached with extra context for easier review. > > > > On Wed, Jul 21, 2021 at 12:10:31PM +0200, Martin Vahlensieck wrote: > > > Hi > > > > > > After t

Re: Improve vi(1) recovery

2021-08-19 Thread Theo de Raadt
+h_alrm(int signo) +{ + GLOBAL_CLP; + + F_SET(clp, CL_SIGALRM); F_SET is |=, which is not atomic. This is unsafe. Safe signal handlers need to make single stores to atomic-sized variables, which tend to be int-sized, easier to declare as sig_atomic_t. Most often these are global sco

Re: Improve vi(1) recovery

2021-08-19 Thread trondd
I've switched this to using alarm(3) instead of setitimer(2) which is a little simpler in the code but most of the changes are just vi event handling boilderplate. There is very little new functional code. Original investigation write-up follows. Have had quite a bit of user feedback and testing

Re: Unplugging ure(4) during attach

2021-08-19 Thread Hiltjo Posthuma
On Wed, Aug 18, 2021 at 04:12:03PM +, Christian Ludwig wrote: > Hi, > > when plugging and unplugging an ure(4) adapter continuously, I came > across the following error with URE_DEBUG set: > > ure0 at uhub0 port 21 configuration 1 interface 0 "Realtek USB 10/100/1000 > LAN" rev 3.00/30.00 a

/usr.bin/mg patch: Make find-file completion case-insensitive

2021-08-19 Thread Sina Samavati
Hello, This is the first time I am sending a patch to the OpenBSD project, so please let me know if I should read any docs for future patches. I ditched GNU Emacs in favour of Mg, but I needed certain changes on Mg for personal use. Below is a patch I have been using for several days; it makes ma

Re: ssh match.c: Remove always true condition

2021-08-19 Thread Martin Vahlensieck
Ping. On Tue, Aug 10, 2021 at 04:33:52PM +0200, Martin Vahlensieck wrote: > Ping, diff reattached with extra context for easier review. > > On Wed, Jul 21, 2021 at 12:10:31PM +0200, Martin Vahlensieck wrote: > > Hi > > > > After the last commit where consecutive `*' are folded, *pattern is > > n