File: tty.4

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (88 lines) | stat: -rw-r--r-- 3,106 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
.\"     Fri Apr  2 11:32:09 MET DST 1993
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
.\" Modified 2003-04-07 by Michael Kerrisk
.\"
.\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
.\"         all rights reserved.
.\" Translated Tue Feb 6 16:57:03 JST 1997
.\"         by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\" Modified Thu Feb  5 17:28:31 JST 1998
.\"         by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\" Updated Fri Aug 16 00:04:53 JST 2002
.\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.\" WORD:	terminal		ü
.\" WORD:	process			ץ
.\" WORD:	controlling terminal	ü
.\" WORD:	file descriptor		եǥץ
.\"
.TH TTY 4 2003-04-07 "Linux" "Linux Programmer's Manual"
.SH ̾
tty \- ü
.SH 
\fI/dev/tty\fP եϡ᥸㡼ֹ 5ޥʡֹ 0 Υ饯
ǥХǤ롣̾Υ⡼ɤ 0666.롼פ root.tty ȤʤäƤ롣
ץü¸ߤ硢ΥǥХեϥץü
ƱΤɽ
.LP
\fBtty\fP ȤƤǥХݡȤƤ
.BR ioctl (2)
׵
äơ
.BR ioctl (2)
׵ \fBTIOCNOTTY\fP ݡȤƤ롣
.SS TIOCNOTTY
ƤӽФΥץ򤽤üڤΥ
.sp
Υץå󡦥꡼ (session leader) ξ硢
ʥ
.B SIGHUP

.B SIGCONT
ե饦ɡץ롼פ졢
ȡå°ƤΥץˤĤƳơüڤΥ롣
.sp

.BR ioctl (2)
ƤӽФ \fI/dev/tty\fP ˷ӤĤ줿ե롦
ǥץˤΤߺѤ롣εǽϡ桼ˤäü
ư줿ǡץˤѤ롣
Υץ \fI/dev/tty\fP 򥪡ץ󤷤褦Ȼߤ롣
ץȡΥץ \fBTIOCNOTTY\fP Ȥä
ʬȤüڤΥץ˼Ԥ硢Υץ
ü˷ӤĤƤʤΤ餫ǤꡢȤüڤΥ
ɬפϤʤ
.SH ե
/dev/tty
.SH Ϣ
.BR chown (1),
.BR mknod (1),
.BR ioctl (2),
.BR termios (3),
.BR console (4),
.BR tty_ioctl (4),
.BR ttyS (4),
.BR agetty (8),
.BR mingetty (8)