Re: [PATCH] char nvtty: Network Virtual Terminal support
From: Randy Dunlap
Date: Mon Jan 03 2011 - 18:34:14 EST
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.
> + ---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.
> + identical to a physical terminal, who, is turn, get
in turn, gets
> + connected with a remote server where real tty devices are
to a remote server
> + located.
> + These devices are specified by RFC 854 and RFC 2217 and ther
the ?? or their ??
> + name into the system is /dev/nvttyX (by default you have 4
(by default there are 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
as though the tty device itself was connected
> + 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
*** Remember to use Documentation/SubmitChecklist when testing your code ***
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/