Subject: Re: pty and baud rate?
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: Jukka Marin <email@example.com>
Date: 07/21/2000 17:07:34
On Fri, Jul 21, 2000 at 10:00:34AM -0400, Greg A. Woods wrote:
> > I want to create a "driver" for a "terminal server" in NetBSD. This box
> > has an Ethernet interface and 8 serial ports. Can I use pty's and a userland
> > daemon or do I need to create a real kernel device? I want the device to
> > be almost identical to real tty's (I want the speed, parity, etc. ioctl's
> > to work so I can use "any" serial port aware software with this hack).
> Which way do you want this "terminal server" to work? Do you want to
> "dial" in to it, or do you want to telnet/whatever to it and "dial" out?
> (or both?)
It's a device I designed (and I need to design another one even more like
a terminal server). It will be used just like a serial port, but not for
real dialling.. just to talk to various things which only have serial
ports. (But you could hook up modems to the box as well..)