This file is indexed.

/usr/share/doc/HOWTO/ja-html/Text-Terminal-HOWTO-14.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE> Text-Terminal-HOWTO : $B%3%s%T%e!<%?%;%C%H%"%C%W(B ($B@_Dj(B) $B$N>\:Y(B </TITLE>
 <LINK HREF="Text-Terminal-HOWTO-15.html" REL=next>
 <LINK HREF="Text-Terminal-HOWTO-13.html" REL=previous>
 <LINK HREF="Text-Terminal-HOWTO.html#toc14" REL=contents>
</HEAD>
<BODY>
<A HREF="Text-Terminal-HOWTO-15.html">$B<!$N%Z!<%8(B</A>
<A HREF="Text-Terminal-HOWTO-13.html">$BA0$N%Z!<%8(B</A>
<A HREF="Text-Terminal-HOWTO.html#toc14">$BL\<!$X(B</A>
<HR>
<H2><A NAME="comp_conf_details"></A> <A NAME="s14">14.</A> <A HREF="Text-Terminal-HOWTO.html#toc14">$B%3%s%T%e!<%?%;%C%H%"%C%W(B ($B@_Dj(B) $B$N>\:Y(B </A></H2>

<P>$BC<Kv$N$?$a$K%3%s%T%e!<%?$r%;%C%H%"%C%W$9$k$K$O3F<o%U%!%$%k$rJT=8$7$^$9!#(B
$B9,1?$J>l9g$O!"(B/etc/inittab $B$rJT=8$9$k$@$1$G$9$`$G$7$g$&!#%3%s%=!<%k(B 
($B$^$?$O!":n6HMQC<Kv(B) $B$GJT=8$9$k$3$H$K$J$j$^$9!#(B</P>

<H2><A NAME="getty_"></A> <A NAME="ss14.1">14.1</A> <A HREF="Text-Terminal-HOWTO.html#toc14.1">Getty (/etc/inittab $B%U%!%$%k(B) </A>
</H2>

<P>$B%3%s%T%e!<%?$N5/F0;~(B($B$"$k$$$O%i%s%l%Y%k$r@Z$jJQ$($?;~(B) $B$K!"%7%j%"%k%](B
$B!<%H>e$G%m%0%$%s%W%m%;%9$,Av$C$?>uBV$K$7$F$*$/$K$O!"(B/etc/inittab $B%U%!(B
$B%$%kFb$K(B getty $B%3%^%s%I$r=q$$$F$*$+$J$1$l$P$$$1$^$;$s!#(Bgetty $B$O(B GET TT
Y ($BC<Kv(B) $B$N$3$H$G!"C<Kv$N>uBV$rD4$Y$^$9!#3FC<Kv$K$O@lMQ$N(B getty $B%3%^%s(B
$B%I$,I,MW$G$9!#$I$s$J(B /etc/inittab $B%U%!%$%k$K$b!"%3%s%=!<%kMQ$N(B getty 
$B%3%^%s%I$,>/$J$/$H$b(B 1 $B$D$O$"$j$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9%HC<Kv$O;H$$$^$;$s!#(B 
<OL>
<LI> mingetty: $B%b%K%?!<%3%s%=!<%k@lMQ$G$9!#(B </LI>
</OL>
 </P>
<P>$B;H$$$?$$(B getty $B$r;}$C$F$$$J$$>l9g!"B>$N%G%#%9%H%j%S%e!<%7%g%s$rD4$Y$^(B
$B$9!#$b$7!"$=$l$,(B RPM $B$d(B Debian $B$N(B package $B$J$i$P!"(Balian$B%W%m%0%i%`$r;H(B
$B$($P(B RPM$B$K$b!"(Bdeb$B$K$b!"(Btar ball$B$K$bAj8_$KJQ49$G$-$^$9!#(B ($B>R2p$7$?(B gett
y $B$?$A$N(B)$B%=!<%9%3!<%I$O(B
<A HREF="http://sunsite.unc.edu/pub/Linux/system/serial/">Serial Software</A>$B$+$i%@%&%s%m!<%I$G$-$k$G$7$g$&!#(B</P>
<P>$B%b%G%`%3%s%H%m!<%k@~$r;H$o$J$$$N$J$i(B ($BNc$($P!":G>.8B$N(B 3 $B$D$NC<;R(B -- 
$BAw?.!"<u?.!"?.9f%0%i%s%I(B -- $B$r;H$&$J$i(B)$B!"(B``$B%m!<%+%k(B'' $B%U%i%0(B $B$r;H$C$F(B
getty $B$KG'<1$5$;$J$5$$!#$3$N%U%)!<%^%C%H$O;HMQ$9$k(B getty $B$K0MB8$7$^$9!#(B</P>

<H3><A NAME="agetty_"></A> Agetty ($BB?J,(B getty $B$H$$$&L>A0$G$7$g$&(B)</H3>

<P>/etc/inittab $B$N%5%s%W%k9T$G$9!#(B<BR>
<BLOCKQUOTE><CODE>
<PRE>
S1:23:respawn:/sbin/getty -L 19200 ttyS1 vt102
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>S1 $B$O(B ttyS1 $B$r<($7$^$9!#(B23 $B$O!"%i%s%l%Y%k(B 2 $B$+(B 3 $B$G(B getty $B$r5/F0$9$k$3(B
$B$H$r0UL#$7$^$9!#(Brespawn $B$O!"(Bgetty $B$,(B kill $B$5$l$?$i<+F0E*$K:F5/F0$9$k$H(B
$B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B$N(B 8 $B%S%C%H%G!<%?$K$*$1$k%Q%j%F%#(B </H3>

<P>$B;DG0$J$,$i(B agetty $B$O%G!<%?D9$,(B 8 $B%S%C%H$G$N%Q%j%F%#$r8!=P$G$-$^$;$s!#(B
(1999 $BG/8eH>8=:_(B) agetty $B$K$O%Q%j%F%#$N<+F08!=P$rL58z$K$9$k%*%W%7%g%s(B
$B$,$J$$$?$a$K!"4V0c$C$?8!=P$r$7$F$7$^$&$3$H$,$"$j$^$9!#7k2L$H$7$F!"%m%0(B
$B%$%s=hM}$r4V0c$C$FEA$($?$j!"8m$C$?%Q%j%F%#$r%;%C%H$7$F$7$^$&$N$G$9!#$7(B
$B$?$,$C$F!"(B8 $B%S%C%H%G!<%?$H%Q%j%F%#$r0l=o$K;H$&$3$H$OITE,@Z$@$H;W$$$^$9!#(B</P>

<H3><A NAME="getty_ps"></A> getty (getty_ps $B$N0lIt(B) </H3>

<P>(Greg Hankins $BCx(B Serial-HOWTO($B$N8E$$HG(B) $B$r;29M$K$7$F$$$^$9(B)<BR>
<CODE>getty</CODE> $BMQ$N@_Dj%U%!%$%k(B <CODE>/etc/gettydefs</CODE> $B$K!"$"$J$?$NC<Kv$r(B
$B;H$&$?$a$N%(%s%H%j$,$J$1$l$P2C$($F$/$@$5$$!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# 38400 bps $B%@%`C<Kv%(%s%H%j(B
DT38400# B38400 CS8 CLOCAL # B38400 SANE -ISTRIP CLOCAL #@S @L login: 
#DT38400

# 19200 bps $B%@%`C<Kv%(%s%H%j(B
DT19200# B19200 CS8 CLOCAL # B19200 SANE -ISTRIP CLOCAL #@S @L login: 
#DT19200

# 9600 bps $B%@%`C<Kv%(%s%H%j(B
DT9600# B9600 CS8 CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S @L login: #DT
9600
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$BK>$`$J$i!"6=L#$r0z$/$h$&$J$b$N$r%m%0%$%s%P%J!<$H$7$F(B getty $B$KI=<($5$;(B
$B$k$3$H$,$G$-$^$9!#;d$NNc$G$O%7%9%F%`$NL>>N$H%7%j%"%k%i%$%sL>$rI=<($7$F(B
$B$$$^$9!#0J2<$N$h$&$J$b$N$rDI2C$9$k$3$H$,$G$-$^$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
@B    $B8=:_$N(B (@B $B$,I>2A$5$l$?=V4V$N(B) bps $B$NCM(B
@D    $B8=:_F|IU(B MM/DD/YY $B7A<0(B 
@L    getty $B$,%"%?%C%A$7$F$$$k%7%j%"%k%i%$%s(B
@S    $B%7%9%F%`L>>N(B
@T    $B8=:_;~9o(B HH:MM:SS (24 $B;~4V@)(B) $B7A<0(B
@U    $B8=:_%m%0%$%s$7$F$$$k%f!<%6$N?t!#$3$l$OHs%L%kCM$N(B ut_name $B%U%#!<(B
      $B%k%I$,$"$k(B /etc/utmp $B%U%!%$%k$N%(%s%H%j!<?t$G$9!#(B
@V    $B%G%U%)%k%H%U%!%$%k$GM?$($i$l$k(B VERSION $B$NCM(B
1 $B$D$N(B '@' $B5-9f$rI=<($9$k$K$O!"(B'\@' $B$+(B '@@' $B$N$I$A$i$+$r;H$$$^$9!#(B
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>/etc/gettydefs $B$NJT=8$,=*$C$?$i!"9=J8$,@5$7$$$3$H$r<!$NJ}K!$G3N$+$a$i(B
$B$l$^$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
linux# getty -c /etc/gettydefs
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$BC<Kv$K@\B3$5$l$k%7%j%"%k%]!<%H$N(B getty $B$+(B uugetty $B$N@_Dj%U%!%$%k(B 
((<CODE>/etc/default/{uu}getty.ttyS</CODE><EM>N</EM> $B$+(B 
<CODE>/etc/conf.{uu}getty.ttyS</CODE><EM>N</EM>) $B$,$J$$$3$H$r3NG'$7$F$/$@$5$$!#(B
$B$*$=$i$/$3$l$,$"$k$H!"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=%U%H%&%'%"%U%m!<@)8f(B(Xon/Xoff) $B$r%5%]!<%H$5$;$k$K$O!"(B 
mgetty $B$r:F%3%s%Q%$%k$7$F$/$@$5$$!#>-Mh$O:G=i$+$i%5%]!<%H$5$l$k$s$8$c$J(B
$B$$$G$7$g$&$+!#C<Kv$G$b%b%G%`$HF1$8(B getty $B$r;H$($k$J$i$$$$$N$G$9$,!"(B 
megetty $B$OL\E*$K9g$&$h$&$K>/$7$$$8$kI,MW$,$"$j$^$9!#(B</P>

<H2><A NAME="stty_setserial"></A> <A NAME="ss14.2">14.2</A> <A HREF="Text-Terminal-HOWTO.html#toc14.2">Stty $B$H(B Setserial</A>
</H2>

<P>$B%7%j%"%k%]!<%H$r@_Dj$9$k$?$a$K(B ``stty'' $B%3%^%s%I$H!"(B``setserial'' $B%3%^(B
$B%s%I(B ($B$NN>J}(B) $B$,$"$j$^$9!#(Bstty $B$G@_Dj$9$kI,MW$N$"$k4v$D$+(B ($B$"$k$$$OA4(B
$B$F(B) $B$O!"(B getty $B$rDL$8$F@_Dj$G$-!"(Bsetserial $B$r;H$&$3$H$b$J$$$N$G!"(Bstty 
$B$H(B setserial $B$N$I$A$i$b;H$o$J$/$F$$$$$+$b$7$l$^$;$s!#(B2 $B$D$N%3%^%s%I(B 
(getty $B$H(B setserial) $B$O!"0c$&8D=j$r@_Dj$7$^$9!#(Bstty $B$,$[$H$s$I$d$C$F!"(B
setserial $B$O3d9~$_$d%]!<%H%"%I%l%9Ey$NDc%l%Y%kItJ,$r@_Dj$7$^$9!#@_Dj$r(B 
``$BJ]B8(B'' $B$9$k$?$a$K!"%3%s%T%e!<%?$,5/F0$9$kEY$K$3$l$i$N%3%^%s%I$r<B9T(B
$B$9$k$h$&$K!"$"$k%U%!%$%k(B ($B%7%'%k%9%/%j%W%H(B) $B$K=q$$$F$*$+$M$P$J$j$^$;$s!#(B
Linux $B$N%G%#%9%H%j%S%e!<%7%g%s$K$O$h$/!"(B<CODE>setserial</CODE> $B$r<B9T$9$k%7%'%k%9%/(B
$B%j%W%H$,=`Hw$5$l$F$$$^$9$,!"(B<CODE>stty</CODE> $B$O$"$^$jI,MW$J$$$N$G!"5)$K$7$+<B9T$9(B
$B$k$h$&$K$O$J$C$F$$$^$;$s!#(B</P>

<H2><A NAME="set_serial"></A> <A NAME="ss14.3">14.3</A> <A HREF="Text-Terminal-HOWTO.html#toc14.3">Setserial </A>
</H2>

<P>$BK\>O$O!"%b%G%`!"%7%j%"%k!"$=$7$F%F%-%9%HC<Kv$N(B 3 $B$D$N(B HOWTO $B$K$D$$$F=q(B
$B$$$F$$$^$9!#$3$l$i$O!"(BHOWTO $B$NCf$K$b$"$k$h$&$K!">/$7%^%$%J!<$J0c$$$,4v(B
$B$D$+$"$j$^$9!#(B</P>

<H3>$B$O$8$a$K(B</H3>

<P>$B%i%C%W%H%C%W(B (PCMCIA) $B$G$O(B <CODE>setserial</CODE> $B$r;HMQ$7$J$$$G$/$@$5$$!#(B
<CODE>setserial</CODE> $B$O!"%7%j%"%k%]!<%H$N(B I/O $B%"%I%l%9$r%G%P%$%9%I%i%$%P$K65(B
$B$($?$j!"%7%j%"%k%]!<%H$N3d9~$_(B (IRQ) $B$r@_Dj$7$?$j!"(BUART $B$N%?%$%W$rD4$Y(B
$B$?$j$9$k%W%m%0%i%`$G$9!#$^$?%I%i%$%P$,8=:_$I$N$h$&$J@_Dj$K$J$C$F$$$k$+(B
$B$r<($7$^$9!#2C$($F!"%O!<%I%&%'%"$rD4$Y$F(B UART $B$N%?%$%W$d(B IRQ $B$r7h$a$k(B
$B$3$H$b$G$-$^$9$,!"$3$l$K$O87$7$$@)8B$,$"$j$^$9!#(B
<A HREF="#probing_ss">$B8!=P(B</A>$B$r$4Mw$/$@$5$$!#(BPnP $B%7%j%"%k%]!<%H$N%O!<%I%&%'%"$G!"(BIRQ $B$d(B
$B%]!<%H%"%I%l%9$N@_Dj$,$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</P>
<P>$BLuCm!'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$$$+$b$7$l$^$;(B
$B$s(B) $B$rDs6!$7$F$$$^$9!#$5$i$K!"(Bsetserial 2.15 $B0J>e$G$O>e5-%9%/%j%W%H$,(B
$B;H$&(B /etc/serial.conf $B%U%!%$%k$,$h$/MQ$$$i$l$k$N$G!"(Bsetserial $B$r5/F0$9(B
$B$k%9%/%j%W%H$N%G%#%l%/%H%j$rJT=8$9$kI,MW$O$"$j$^$;$s!#2C$($F!"C1$K%3%^(B
$B%s%I%i%$%s>e$G(B setserial $B$r;H$&$J$i!"$3$N@_Dj%U%!%$%k$r:G=*E*$KJQ99$9(B
$B$k$3$H$K$J$j$^$9!#(B</P>
<P>$B%P!<%8%g%s(B 2.15 $B0JA0$G$O!"$d$k$3$H$OA4$F%9%/%j%W%H$NJT=8$G$9!#(B2.15 $B0J(B
$B9_$G$O(B 3 $B$D$NFb$I$l$+(B 1 $B$D$r$d$kI,MW$,$"$j$^$9!#(B1. $B%9%/%j%W%H$NJT=8!#(B 
2. <CODE>/etc/serial.conf</CODE> $B$NJT=8!#(B3. <CODE>/etc/serial.conf</CODE> $B$r<+(B
$BF0JT=8$9$k$?$a$K(B ``setserial'' $B$r<B9T$9$k!#$3$l$i(B 3 $B$D$N$I$l$rA*Br$9$k(B
$B$+$O!"$"$J$?$N%G%#%9%H%j%S%e!<%7%g%s$K0MB8$9$k$3$H$G!"$^$?$I$N$h$&$K%;%C(B
$B%H%"%C%W$7$?$+$K$b$h$j$^$9!#(B</P>

<H3><A NAME="old_sets_script"></A> $B%9%/%j%W%H$NJT=8(B ($B%P!<%8%g%s(B 2.15 $B0J9_(B : $BIT@53N$G$9(B) </H3>

<P>ssetserial 2.15 (1999$BG/8=:_(B) $B0JA0$G$O!"(Bsetserial $B$r@_Dj$9$k$?$a$N(B 
/etc/serial.conf $B%U%!%$%k$O$^$@$J$+$C$?!#$=$l$G!"%V!<%H;~$K(B 
``setserial'' $B$r5/F0$9$k%U%!%$%k$rC5$7$F!"JT=8$9$kI,MW$,$"$j$^$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in/setserial /dev/ttyS3 irq 5 uart 16550A  skip_test 
</PRE>
</CODE></BLOCKQUOTE>
 </P>
<P>$B%P!<%8%g%s(B 2.15 $B0J>e(B ($B$*;H$$$N%G%#%9%H%j%S%e!<%7%g%s$,BP1~:Q$G$"$k$3(B
$B$H(B) $B$N>l9g!"5/F0;~$K(B setserial $B$r<B9T$9$k(B /etc/init.d/setserial $B$+$=$N(B
$BN`$N%9%/%j%W%H%U%!%$%k$,%f!<%6$K$h$C$FJT=8$5$l$k$H;W$C$F$$$J$+$C$?$N$G!"(B
$B$+$J$j$d$C$+$$$G$9!#(B
<A HREF="#new_config">/etc/serial.conf $B$r;H$C$??7$7$$@_DjJ}K!(B</A> $B$r$4Mw$/$@$5$$!#(B</P>


<H3><A NAME="new_config"></A> /etc/serial.conf $B$r;H$C$??7$7$$@_DjJ}K!(B</H3>

<P>setserial 2.15 $B0JA0$N%P!<%8%g%s$G$N@_DjJ}K!$O!"5/F0;~$K(B setserial $B$r<B(B
$B9T$9$k%7%'%k%9%/%j%W%H$r<j$GJT=8$9$k$3$H$G$7$?!#(B
<A HREF="#old_sets_script">$B%9%/%j%W%H$NJT=8(B ($B%P!<%8%g%s(B 2.15 $B0J9_(B :$BIT(B $B@53N$G$9(B)</A>$B$r$4Mw$/$@$5$$!#(B<CODE>setserial</CODE> 2.15(1999$BG/(B) $B$K$J$k$H$3$N%9(B
$B%/%j%W%H%U%!%$%k$OJT=8$5$l$:!"Be$j$K(B <CODE>/etc/serial.conf</CODE> $B@_Dj%U%!(B
$B%$%k$+$i%G!<%?$rF@$k$h$&$K$J$j$^$7$?!#$=$N>e!"(Bserial.conf $B$5$($bJT=8$9(B
$B$kI,MW$,$J$/$J$C$F$$$F!"$J$<$+$H$$$&$H!"%3%^%s%I9T$G(B ``setserial'' $B%3(B
$B%^%s%I$r;H$($P<+F0$G(B serial.conf $B$rE,@Z$KJT=8$7$F$/$l$k$+$i$G$9!#(B</P>
<P>$B$3$l$O!"(BLinux $B$,%V!<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$s!#(B``setserial'' $B$r$$$m$$$m;n$7$F$$$F!":G8e$K%*%j%8%J%k$N(B
$B@_Dj$KLa$9$N$rK:$l$?(B ($B$"$k$$$O%*%j%8%J%k$rLa$74V0c$C$?(B) $B$H$7$?$i!"(B``$B;n(B
$B83E*(B'' $B$J@_Dj$,J]B8$5$l$F$7$^$$$^$9!#(B</P>
<P>$B<j$G(B serial.conf $B$rJT=8$7$F$b!"%7%c%C%H%@%&%s$N;~$K(B setserial $B$N>uBV$K(B
$BLa$C$F$7$^$&$N$G!"JQ99$OJ]B8$5$l$^$;$s$h!#%7%c%C%H%@%&%s$G(B serial.conf
$B$rJQ99$7$J$$J}K!$O!"(Bserial.conf $B$N:G=i$N9T$K$"$k(B ``###AUTOSAVE###'' 
$B$"$k$$$O$=$NN`$N9T$r:o=|$9$k$3$H$G$9!#:G6a$N%G%#%9%H%j%S%e!<%7%g%s$N$J(B
$B$+$K$O!"%$%s%9%H!<%kD>8e$N:G=i$N%7%c%C%H%@%&%s$N8e$K:G=i$N9T$K$"$k(B ``#
##AUTOSAVE###'' $B$,:o=|$5$l$k$b$N$b$"$j$^$9!#(Bserial.conf $B%U%!%$%k$K$OB?(B
$BJ,;29M$K$J$k%3%a%s%H$,4^$^$l$F$$$^$9!#(B</P>
<P>$B%V!<%H;~$K(B setserial $B$r<B9T$9$k$b$C$H$b0lHLE*$J%U%!%$%k(B ($B@_Dj%U%!%$%k(B
$B$K=`5r$7$?$b$N(B) $B$O!"8=:_$N$H$3$m(B /etc/init.d/setserial(Debian) $B$d(B 
/etc/init.d/serial (Redhat) $B$J$I$G$9$,!"DL>o$OJT=8$9$Y$-$G$O$"$j$^$;$s!#(B 
Redhat 6.0 $B$N(B setserial 2.15 $B$K$O(B /usr/doc/setserial-2.15/rc.serial $B$,(B
$B$D$$$F$$$^$9$,!"%V!<%H;~$K<B9T$9$k$h$&$K$7$?$$$J$i(B /etc/init.d/ $B$K0\$5(B
$B$J$1$l$P$J$j$^$;$s!#(B</P>
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G$9!#$3$N>l=j$O%G%#%9%H%j%S%e!<%7%g%s$d%P(B
$B!<%8%g%s$4$H$K0[$J$j$^$9!#Dc%l%Y%k$N=hM}$,@h$K9T$o$l$k$h$&$K$9$k$?$a!"(B
setserial $B$N8e$KCV$/$N$,NI$$$G$7$g$&!#(B $BCV$+$l$F$$$k%U%!%$%k$,5/F0;~$K(B
$BA4$F<B9T$5$l$k%G%#%l%/%H%j(B (System V Init) $B$,!"(B/etc $B%G%#%l%/%H%j%D%j!<(B
$B$N2<$K$"$l$P!"(B``stty'' $B$H$$$&L>A0$G%U%!%$%k$r:n$l$PNI$$$G$7$g$&!#(B
 </P>

<H2><A NAME="termcap1"></A> <A NAME="ss14.5">14.5</A> <A HREF="Text-Terminal-HOWTO.html#toc14.5">Terminfo $B$H(B Termcap ($B4J0WHG(B) </A>
</H2>

<P>termcap $B$N>\:Y$K$D$$$F$O(B 
<A HREF="Text-Terminal-HOWTO-15.html#termcap2">Terminfo $B$H(B Termcap ($B>\:Y(B)</A>$B$r$4Mw$/$@$5$$!#$"$J$?$,;H$&%"%W%j%1!<%7%g%s%W%m%0%i%`$NB?$/$O(B 
terminfo ($B0JA0$O(B termcap) $B%G!<%?%Y!<%9$r;HMQ$7$^$9!#$3$l$K$OC<Kv$N7?<0(B
$B$d%?%$%W(B (vt100 $B$N$h$&$J(B) $B$N%(%s%H%j(B ($B$^$?$O%U%!%$%k(B) $B$,$"$j!"$=$NC<Kv$G$I$s$J$3$H$,$G$-$k$+!"(B
$B3F<oF0:n$N$?$a$KAw$k%3!<%I$O2?$+!"$^$?=i4|2=$N%3!<%I$J(B
$B$I$K$D$$$F<($7$F$/$l$^$9!#(B</P>
<P>$BB?$/$NC<Kv(B (PC $B$bF1MM(B) $B$OB>$NC<Kv$r%(%_%e%l!<%H$G$-!"$^$?3F<o$NA`:n(B ``
$B%b!<%I(B'' $B$,$"$k$N$G!";XDj$7$?<B:]$NC<Kv$rA*Br$G$-$k$h$&$K$$$/$D$+$NC<(B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Q%$%i(B (tic)</A>$B$r$4Mw$/$@$5$$!#(B</P>

<H2><A NAME="ss14.6">14.6</A> <A HREF="Text-Terminal-HOWTO.html#toc14.6">TERM $B$H(B TERMINFO $B$N@_Dj(B</A>
</H2>

<P>$BC<KvMQ$K$O(B TERM $B$H(B TERMINFO $B$N(B 2 $B$D$N4D6-JQ?t$,$"$j$^$9$,!"$3$l$K$D$$(B
$B$F$O2?$bCN$kI,MW$"$j$^$;$s!#(BTERM $B$O;HMQ$9$kC<Kv$N%?%$%W(B (vt100 $B$N$h$&(B
$B$J(B) $B$r@_Dj$7$^$9!#$b$7%?%$%W(B ($BL>A0(B) $B$rCN$i$J$1$l$P!"(B
<A HREF="#term_name">$B;d$NC<Kv$N(B terminfo $B$NL>A0$O2?(B ?</A>$B$r$4Mw$/$@$5$$!#(BTERMINFO $B$O(B 
terminfo $B%G!<%?%Y!<%9$X$N%Q%9$r4^$_$^$9$,!"%G!<%?%Y!<%9$,%G%U%)%k%H$N(B
$B0LCV$K$"$k$J$i(B ($B$"$k$$$O!"$"$J$?$N(B Linux $B%G%#%9%H%j%S%e!<%7%g%s$K4^$^(B
$B$l$k%9%/%j%W%H%U%!%$%k$G(B TERMIFO $B$r<+F0E*$K@_Dj$9$k$J$i(B) $BI,MW$J$$$+$b(B
$B$7$l$^$;$s!#(B
<A HREF="Text-Terminal-HOWTO-15.html#tc_compiled_locs">$B%G!<%?%Y!<%9$N0LCV$NK]Lu(B </A>$B$,;29M$K$J$k$H;W$$$^$9!#(B</P>
<P>$B9,$$!"%W%m%0%i%`(B getty $B$O%m%0%$%s$9$kA0$K(B TERM $B$r@_Dj$9$k$N$,IaDL$G$9!#(B
$BC1$K(B getty $B$N%3%^%s%I%i%$%s(B (/etc/inittab) $B$G;XDj$7$?C<Kv%?%$%W$r;H$$(B
$B$^$9!#$3$l$K$h$j%"%W%j%1!<%7%g%s%W%m%0%i%`$,C<Kv$NL>A0$r8+$D$1$?$j!"(B t
erminfo $B%G!<%?%Y!<%9$+$iC<Kv$NG=NO$rC5$9$3$H$,2DG=$K$J$j$^$9!#(BTERM $B$N(B
$B>\:Y$K$D$$$F$O(B 
<A HREF="Text-Terminal-HOWTO-15.html#term_var">TERM $BJQ?t(B</A>$B$r$4Mw$/$@$5$$!#(B</P>
<P>terminfo $B%G!<%?%Y!<%9$r8+$D$+$i$J$1$l$P!"C<Kv$G$=$l$K4X$9$k%(%i!<%a%C(B
$B%;!<%8$rC5$7$?$[$&$,$h$$$H;W$$$^$9!#$b$7%(%i!<$,5/$C$F$$$?$i(B terminfo 
$B$,5-O?$5$l$F$$$k>l=j$rD4$Y$F!"I,MW$J$i(B TERMINFO $B$r@_Dj$7$^$7$g$&!#(B ``l
ocate'' $B%3%^%s%I$r;H$C$F!"0lHLE*$J(B terminfo $B%U%!%$%k$+$i(B ``vt100'' $B$N(B
$B$h$&$J8l6g$rC5$9$3$H$G(B terminfo $B%G!<%?%Y!<%9$,$I$3$K$"$k$+C5$9$3$H$,$G(B
$B$-$^$9!#$*;H$$$NC<Kv$,$3$N%G!<%?%Y!<%9$K$"$k$+$I$&$+3NG'$7$F$_$F$/$@$5(B
$B$$!#Nc$($P(B TERMINFO $B$N@_Dj$O(B export TERMINFO=/usr/share/terminfo $B$H$7(B
$B$^$9(B (/etc/profile $B$+$=$l$KN`$9$k%U%!%$%k$K=q$$$F$*$-$^$9(B)$B!#$b$7%G!<%?(B
$B%Y!<%9Fb$NC<Kv%G!<%?$,$*5$$K>$$5$J$1$l$P!"$=$l$rJT=8$9$kI,MW$,$"$j$^$9!#(B
<A HREF="#termcap1">Terminfo &amp; Termcap ($B4J0WHG(B)</A>$B$r$4Mw$/$@$5$$!#(B</P>

<H3><A NAME="term_name"></A> $B;d$NC<Kv$N(B terminfo $B$NL>A0$O2?(B ? </H3>

<P>TERM $B4D6-JQ?t$K%;%C%H$7$?$j!"(B<CODE>getty</CODE> $B$KEO$9$?$a$K@5$7$$L>A0$,I,MW$G$9!#(B
$BF1$8L>A0$,(B termcap $B$H(B terminfo $B%G!<%?%Y!<%9$NN>J}$GMQ$$$i$l$F$$$k$N$G!"(B
$B0lEY$@$13NG'$7$F$*$/I,MW$,$"$j$^$9!#IaDL$OC<Kv$K$O%(%$%j%"%9$,$"$j$^$9(B
$B$,!"Fs$D0J>e$NL>A0$,$"$k>l9g$O:G=i$N$b$N$r;H$$$^$9!#(B</P>
<P>$B8+$D$1$k$K$O!"(B/etc/termcap $B%U%!%$%k(B ($B$b$7B8:_$9$k$J$i(B) $B$GC5$7$F$_$F$/(B
$B$@$5$$!#$b$7$J$1$l$P!"(Bterminfo $B%D%j!<(B ( 
<A HREF="Text-Terminal-HOWTO-15.html#tc_compiled_locs"> $B%G!<%?%Y!<%9$N0LCV$NK]Lu(B</A>$B$r$4Mw$/$@$5$$(B) 
$B$+!"(Bterminfo $B%=!<%9%3!<%I%U%!%$%k(B (
<A HREF="Text-Terminal-HOWTO-15.html#tc_source_loc">$B%=!<(B $B%9%3!<%I%G!<%?%Y!<%9$N0LCV(B</A>$B$r$4Mw$/$@$5$$(B) $B$N$I$A$i$+$r$4Mw$/$@$5$$!#(B </P>

<H2><A NAME="ss14.7">14.7</A> <A HREF="Text-Terminal-HOWTO.html#toc14.7">$B$a$C$?$KI,MW$J$$(B /etc/ttytype $B%U%!%$%k(B</A>
</H2>

<P>$B@_Dj%U%!%$%k(B /etc/ttytype $B$O!"(Bterminfo $BKh$NC<KvL>>N$K(B /dev/ttySn $B$r3d(B
$BEv$F$k$?$a$K;H$$$^$9!#(Btset $B$,;H$C$F$$$^$9$,!"(BTERM $B4D6-JQ?t$,$9$G$K@5$7(B
$B$/@_Dj$5$l$F$$$k$J$i$3$N%U%!%$%k$OITMW$G$9!#(BLinux $B$N(B getty $B$O3F(B tty $BKh(B
$B$K(B TERM $B$r@_Dj$9$k$N$G!"$3$N%U%!%$%k$OITMW$G$9!#(BFreeBSD $B$N$h$&$J(B Unix 
$B%i%$%/$JB>$N%7%9%F%`$G$N(B /etc/ttys $B%U%!%$%k$O!"E,@Z$J(B getty $B%3%^%s%I$d!"(B
$B@\B3$N<oN`(B (``$B%@%$%"%k%"%C%W(B'' $B$N$h$&$J(B) $B$J$I$h$jB?$/$N(B tty $B$K%^%C%W$7(B
$B$^$9!#(BLinux $B$N(B ttytype $B$N%5%s%W%k9T(B : vt220 ttyS1</P>

<H2><A NAME="login_restr"></A> <A NAME="ss14.8">14.8</A> <A HREF="Text-Terminal-HOWTO.html#toc14.8">$B%m%0%$%s$N@)8B(B</A>
</H2>

<P>$B%G%U%)%k%H$G$O!"(Broot $B%f!<%6$OC<Kv$+$i$O%m%0%$%s$G$-$^$;$s!#$3$l$r5v2D(B
$B$9$k$K$O!"(Bman $B%Z!<%8$N(B ``securetty'' $B$K$h$j(B /etc/securetty $B%U%!%$%k$r(B
$B:n@.$7$J$1$l$P$J$j$^$;$s!#$7$+$7$3$l$r;H$&$K$O!"(BSuse $B$J$I$O(B 
/etc/securetty $B$r;H$o$J$+$C$?$j$9$k$N$G!"%G%#%9%H%j%S%e!<%7%g%s$N;EMM(B
$B$K$h$k$3$H$K$J$j$^$9!#FCDj$N%f!<%6$dC<Kv$+$i$N%m%0%$%s$r@)8B$9$k$K$O(B 
/etc/login.access ($B$3$l$O8E$$(B /etc/usertty $B%U%!%$%k$rCV$-49$($?$b$N$G(B
$B$9(B ??) $B$rJT=8$7$^$9!#(B/etc/login.def $B$O(B /etc/securetty $B$,;H$o$l$k$+$I$&(B
$B$+!"JT=82DG=$K$9$k$+$I$&$+$r7h$a$^$9!#$D$^$j(B /etc/securetty $B$rITMW$K$9(B
$B$k$+(B ($B$"$k$$$O;HMQ$7$J$$$h$&$K$9$k$+(B) $B$r7h$a$k$N$G$9!#(B /etc/porttime 
$B$O$"$k%f!<%6$HC<Kv$,%3%s%T%e!<%?$r;H$($k;~4V$r@)8B$7$^$9!#%f!<%6$,;n$_(B
$B$?%m%0%$%s$,2?EY$b<:GT$7$?$i!"$=$N%f!<%6$O:F$S%m%0%$%s$9$k$3$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><A NAME="ls_color"></A> $B%3%^%s%I(B ls $B$NNc(B  </H3>

<P>$B$3$N(B if $BJ8$,9T$J$&$3$H$NB?$/$O(B dircolors $BMQ$N@_Dj%U%!%$%kFb$G<B9T$5$l(B
$B$^$9!#0J2<$O(B bash $B%7%'%k$N>l9g$N%5%s%W%k$G$9!#(B 
<HR>
<PRE>
if [ "$TERM" = linux ]; then
    eval `dircolors`;
elif [ "$TERM" = vt220 ]; then
    ls () { command ls -F $* ; }# to export the function ls():
    declare -xf ls
else echo "From /etc/profile: Unknown terminal type $TERM"
fi
</PRE>
<HR>
</P>

<HR>
<A HREF="Text-Terminal-HOWTO-15.html">$B<!$N%Z!<%8(B</A>
<A HREF="Text-Terminal-HOWTO-13.html">$BA0$N%Z!<%8(B</A>
<A HREF="Text-Terminal-HOWTO.html#toc14">$BL\<!$X(B</A>
</BODY>
</HTML>