summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/1/tty26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/man/1/tty b/sys/man/1/tty
new file mode 100644
index 000000000..6921c0d0f
--- /dev/null
+++ b/sys/man/1/tty
@@ -0,0 +1,26 @@
+.TH TTY 1
+.SH NAME
+tty \- cooked mode emulator
+.SH SYNOPSIS
+.B tty
+[-D]
+.I cmd
+.I arg1
+.I arg2
+.I ...
+.SH DESCRIPTION
+.PP
+.I Tty
+binds an intermediate "cooked mode" layer between
+.I cmd
+and
+.I /dev/cons.
+.SH EXAMPLE
+.LP
+Provide <DEL> support for a command run on the text console:
+.sp 1
+.EX
+% tty import -c cirno / /n/cirno
+.EE
+.SH SOURCE
+.B /sys/src/cmd/tty.c