Le Sun, Mar 01, 2026 at 08:41:48PM +0100, Matthieu Herrb a écrit :
> Hi,
> 
> When using firefox to connect to a proxmox hypervisor or other kind of
> application that provide a terminal emulator withing the browser, one
> may observe that the arrow keys don't work propoerly under OpenBSD.
> 
> This has been debugged by David Brownlee and "RVP" under NetBSD
> (see the thread at
> https://marc.infœ?l=netbsd-current-users&m=176721894101063&w=2)
> 
> Below is an adaptation (with the help of landry@) of the patch they
> came up with for NetBSD :
> 
> I do agree with them that in the long term wscons should be switched
> to provide evdev compatible keycodes. But in the mean time, this makes
> the arrows work the console under Proxmox/ESXi.

i'm not a great fan of patches that arent upstreamed, because those
become my own problem. But from my understanding, this shouldnt be
upstreamed since it'll go away when wscons is improved for compat with
evdev, right ? Are you commiting to do that ?

i've tested it with https://keyjs.dev and e.code shows the right value
now for arrow keys, so it does "the right thing" (whatever that is).
the .h was renamed to .inc in
https://bugzilla.mozilla.org/show_bug.cgi?id=2010520 so i'll have to
drop/readd the patch for 149.

ok with me anyway, i guess that's a quality of life improvement.. it
seems the chromes have the same issue, at least in keyjs.dev.

Landry

Reply via email to