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@linux.it>
---
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/Documentation/ABI/testing/sysfs-nvtty b/Documentation/ABI/testing/sysfs-nvtty
new file mode 100644
index 0000000..a52d319
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-nvtty
@@ -0,0 +1,35 @@
+What: /sys/class/tty/nvttyX/
+Date: January 2011
+Contact: Rodolfo Giometti <giometti@linux.it>
+Description:
+ The /sys/class/tty/nvttyX/ directory is related to X-th
+ NVT tty device into the system. Each directory will
+ contain files to manage and control its NVT tty device.
+
+What: /sys/class/tty/nvttyX/connection
+Date: January 2011
+Contact: Rodolfo Giometti <giometti@linux.it>
+Description:
+ The /sys/class/tty/nvttyX/connection file reports 1 if the
+ related NVT tty device is connected with remote server and
+ 0 otherwise.
+
+What: /sys/class/tty/nvttyX/ip
+Date: January 2011
+Contact: Rodolfo Giometti <giometti@linux.it>
+Description:
+ The /sys/class/tty/nvttyX/ip file reports the IP ...