Re: [PATCH] char nvtty: Network Virtual Terminal support
From: Rodolfo Giometti
Date: Wed Jan 05 2011 - 09:48:18 EST
On Mon, Jan 03, 2011 at 03:32:31PM -0800, Randy Dunlap wrote:
> On Mon, 3 Jan 2011 16:15:35 +0100 Rodolfo Giometti wrote:
>
> > A Network Virtual terminal (NVT tty) is a software device consisting
> > of one halves: a client device, which is identical to a physical
> > terminal, who, is turn, get connected with a remote server where real
> > tty devices are located.
> >
> > These devices are specified by RFC 854 and RFC 2217 and ther name into
> > the system is /dev/nvttyX (by default you have 4 devices).
> >
> > By using these devices and a proper compatible server (not included
> > here but you can use sredird) you can get access to a remote tty
> > device as the tty device itself was conneted with your local host.
> > All data and settings are sent and received through the network.
> >
> > Signed-off-by: Rodolfo Giometti <giometti@xxxxxxxx>
> > ---
> > Documentation/ABI/testing/sysfs-nvtty | 35 +
> > drivers/char/Kconfig | 22 +
> > drivers/char/Makefile | 1 +
> > drivers/char/nvtty.c | 1557 +++++++++++++++++++++++++++++++++
> > 4 files changed, 1615 insertions(+), 0 deletions(-)
> > create mode 100644 Documentation/ABI/testing/sysfs-nvtty
> > create mode 100644 drivers/char/nvtty.c
> >
>
> > diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
> > index 43d3395..13775be 100644
> > --- a/drivers/char/Kconfig
> > +++ b/drivers/char/Kconfig
> > @@ -451,6 +451,28 @@ config UNIX98_PTYS
> > All modern Linux systems use the Unix98 ptys. Say Y unless
> > you're on an embedded system and want to conserve memory.
> >
> > +config NVT_TTY
> > + tristate "Network Virtual Terminal"
> > + default m
>
> Don't enable random drivers, please.
Ok, moved to 'n'.
> > + ---help---
> > + A Network Virtual terminal (NVT tty) is a software device
> > + consisting of one halves: a client device, which is
>
> "one" and "halves" do not go together.
Fixed.
> > + identical to a physical terminal, who, is turn, get
>
> in turn, gets
Fixed.
> > + connected with a remote server where real tty devices are
>
> to a remote server
Fixed.
> > + located.
> > +
> > + These devices are specified by RFC 854 and RFC 2217 and ther
>
> the ?? or their ??
Fixed.
> > + name into the system is /dev/nvttyX (by default you have 4
>
> (by default there are 4
Fixed.
> > + devices).
> > +
> > + By using these devices and a proper compatible server (not
> > + included here but you can use sredird) you can get access to
> > + a remote tty device as the tty device itself was conneted
>
> as though the tty device itself was connected
Fixed.
> > + with your local host. All data and settings are sent and
> > + received through the network.
> > +
> > + If unsure, say M.
> > +
> > config DEVPTS_MULTIPLE_INSTANCES
> > bool "Support multiple instances of devpts"
> > depends on UNIX98_PTYS
Thanks a lot, I'm going to repropose a new patch ASAP.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@xxxxxxxxxxxx
Linux Device Driver giometti@xxxxxxxx
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it
--
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/