|
|
1.1 root 1: .th TTYN III 1/15/73
2: .sh NAME
3: ttyn \*- return name of current typewriter
4: .sh SYNOPSIS
5: .ft B
6: jsr pc,ttyn
7: .s3
8: ttyn(file)
9: .s3
10: .ft R
11: .sh DESCRIPTION
12: .it Ttyn
13: hunts up the last character of the name of the
14: typewriter which is the standard input (from \fIas\fR)
15: or is specified by the
16: argument
17: .it file
18: descriptor (from C).
19: If \fIn\fR is returned, the
20: typewriter name is then ``/dev/tty\fIn\fR''.
21: .s3
22: .bd x
23: is returned if the indicated file does not correspond to a
24: typewriter.
25: .sh BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.