diff options
Diffstat (limited to 'man3/ttyslot.3')
-rw-r--r-- | man3/ttyslot.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/man3/ttyslot.3 b/man3/ttyslot.3 index 358ae5584..e39c0574c 100644 --- a/man3/ttyslot.3 +++ b/man3/ttyslot.3 @@ -21,7 +21,7 @@ Standard C library .P .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .BR ttyslot (): @@ -44,14 +44,14 @@ Well, let's first look at some history. There used to be a file .I /etc/ttys in UNIX\ V6, that was read by the -.BR init (1) +.MR init 1 program to find out what to do with each terminal line. Each line consisted of three characters. The first character was either \[aq]0\[aq] or \[aq]1\[aq], where \[aq]0\[aq] meant "ignore". The second character denoted the terminal: \[aq]8\[aq] stood for "/dev/tty8". The third character was an argument to -.BR getty (8) +.MR getty 8 indicating the sequence of line speeds to try (\[aq]\-\[aq] was: start trying 110 baud). Thus a typical line was "18\-". @@ -60,7 +60,7 @@ signaling init, changing back again, and signaling init again. .P In UNIX\ V7 the format was changed: here the second character was the argument to -.BR getty (8) +.MR getty 8 indicating the sequence of line speeds to try (\[aq]0\[aq] was: cycle through 300-1200-150-110 baud; \[aq]4\[aq] was for the on-line console DECwriter) while the rest of the line contained the name of the tty. @@ -75,10 +75,10 @@ On the other hand, there is the file .I /etc/utmp listing the people currently logged in. It is maintained by -.BR login (1). +.MR login 1 . It has a fixed size, and the appropriate index in the file was determined by -.BR login (1) +.MR login 1 using the .BR ttyslot () call to find the number of the line in @@ -107,7 +107,7 @@ it returns 0 on UNIX\ V6 and V7 and BSD-like systems, but \-1 on System V-like systems. .SH ATTRIBUTES For an explanation of the terms used in this section, see -.BR attributes (7). +.MR attributes 7 . .TS allbox; lbx lb lb @@ -164,6 +164,6 @@ Minix also has .\" .BR ttyslot () .\" appeared in UNIX V7. .SH SEE ALSO -.BR getttyent (3), -.BR ttyname (3), -.BR utmp (5) +.MR getttyent 3 , +.MR ttyname 3 , +.MR utmp 5 |