Re: [RFC] new APIs to use wskbd(4) input on non-wsdisplay tty devices

Thor Lancelot Simon <[email protected]> Fri, 12 Apr 2024 09:15:10 -0400
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.ports.news68k
Message-ID <[email protected]>
On Fri, Apr 12, 2024 at 09:13:17AM -0400, Thor Lancelot Simon wrote:
> On Sat, Apr 06, 2024 at 11:56:27PM +0900, Izumi Tsutsui wrote:
> > 
> > I'd like to add new APIs to use wskbd(4) input on non-wsdisplay
> > tty devices, especially news68k that can use a putchar function
> > provided by firmware PROM as a kernel console device.
> 
> Wouldn't a tty be a better abstraction for this? Lots of minicomputers
> had incredibly dumb serial consoles.

I think the above is not clear.  To rephrase my question: what is the
wscons layer actually adding here?  Would it not be simpler to interface
at the tty layer instead?

Thor