Re: [PATCH 1/1] char nvtty: Network Virtual Terminal support

From: Alan Cox
Date: Mon Jan 10 2011 - 08:52:49 EST


> If I well understood the pty/tty pair modem lines they can be used to
> send receive serial data but they cannot be used to set the serial
> parameters since the slave doesn't send to the master the serial
> settings a userland application does on it, doesn't it?

Currently this is the case.

> > Otherwise its a very nice implementation of something I don't think we
> > should have implemented in the kernel.
>
> Thanks, but I still don't understand how I can set the serial settings
> without a specific tty driver and just using the pty/tty pair modem
> lines... :'(

I'd rather see either tweaks to the pty/tty code to support this and
modem line setting, or something like your nvt which can be used for
arbitary protocols rather than being tied to the nvt telnet protocol
limits.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/