Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re (2): monitorless server; was Re: FTP server on a Sparc 2.



On Fri, 13 Mar 2015, Mouse wrote:

> >>> [*] Solaris supported input and output devices that weren't the
> >>> same, e.g. keyboard input plus serial output, [...]
> >> I don't recall trying it on NetBSD, but, given what (little) I
> >> recall of the console code from last time I was poking around in
> >> there, I would not expect it to work under NetBSD.
> > It used to work on NetBSD before wscons.
> 
> Was that SPARC-specific?  Did it work even when using rcons?
> 
> Thing is, as far as I can recall there's only a single console device,
> so split input and output would have to be implemented below that
> layer, which means MD code.  Am I misremembering, or is that how it was
> done and I just never noticed it when I was grubbing around in there?

I don't remember if it worked with rcons.  

consdev is a virtual device that has pointers to the read and write 
routines.  If you have a keyboard and display, you already have the read 
and write vectors pointing to different drivers.  Swapping one of them for 
the serial port read or write routine is trivial.  wscons precludes that.

Edaurdo


Home | Main Index | Thread Index | Old Index