From 9cfb1d4c5dfe4cfd28f3e1efa5f6afaecc2149a7 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Tue, 17 May 2011 22:57:33 +0000 Subject: [PATCH] tty(1): add man page --- sys/man/1/tty | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sys/man/1/tty 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 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