tty(1): add man page
This commit is contained in:
parent
0492f0764c
commit
9cfb1d4c5d
26
sys/man/1/tty
Normal file
26
sys/man/1/tty
Normal file
|
@ -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
|
Loading…
Reference in a new issue