$B

TERM HOWTO
Patrick Reijnen [email protected]
v1.2, 15 July 1995

$BLu!'F#0f(B $B??8c(B     12 Dec. 1995
                  <[email protected]>
                  <[email protected]>


1.  $BK!E*>r7o(B



1.1.  $BCx:n8"$K$D$$$F(B


  $B$3$NJ8=q$O!"$"$i$f$k7A<0$GL5NA$GG[I[$9$k$3$H$,$G$-$^$9!#$3$NJ8>O$N0lIt$@$1(B
$B$rG[I[$9$k$3$H$b$G$-$^$9$,!"Cx:n8"I=<($,4^$^$l$F$$$k$3$H$H!"40A4$J(B HOWTO $BJ8=q(B
$B$G$O$J$$$3$H$rFI&MQ$NG[I[$K$D$$$F$b;vA0$N>5Bz$J$7$K2DG=$G$9$,!"(B
$B$=$N$h$&$JMxMQ$K4X$7$F$O;d$K$*CN$i$;2<$5$$!#(B

  $B$3$N(B HOWTO $B$O!"Cx:n8"I=<($H!"!V@k8@!W$,$=$N$^$^;D$5$l$F$$$k8B$j$I$N$h$&$J8@(B
$B8l$K$bK]Lu$7$F7k9=$G$9!#$^$?!"C/$,K]Lu$7$?$N$+$rL@3N$K$7$F2<$5$$!#(B

  This document may be distributed freely as a whole in any form and
  free of charge. Parts of this document may be distributed, provided
  that this copyright message is included and the reader is informed
  that this is not the full HOWTO document. Furthermore, there is to be
  a pointer as to where the full document can be obtained. Specifically,
  it may be included in commercial distributions, without prior consent.
  However, I would like to be informed of such usage.

  This HOWTO may be translated into any language, whatsoever, provided
  that you leave this copyright statement and the disclaimer intact, and
  that a notice is appended stating who translated the document.



1.2.  $B@k8@(B


  $B;d$O!":GBg8B$K@5$7$/$=$7$F?7$7$$>pJs$rF~$l$^$7$?$,!"$3$NJ8=q$K4^$^$l$k>pJs(B
$B$,%G!<%?$NAS<:$r>7$+$J$$$H$OJ]>Z$G$-$^$;$s!#$3$N(B HOWTO $B$K4^$^$l$k>pJs$K4X$7$F(B
$B$O!VL5J]>Z!W$G$9!#$^$?!";d$O$3$N(B HOWTO $B$K4^$^$l$k>pJs$rMxMQ$9$k$3$H$K$h$C$F@8(B
$B$8$?$"$i$f$kB;32$K$D$$$F@UG$$r;}$A$^$;$s!#(B

  While I have tried to include the most correct and up-to-date
  information available, I cannot guarantee that usage of the
  information in this document does not result in loss of data. I
  provide NO WARRANTY about the information in this HOWTO and I cannot
  be made liable for any consequences for any damage resulting from
  using information in this HOWTO.


2.  $B%$%s%H%m%@%/%7%g%s(B



2.1.  $B$3$NJ8=q(B


  $B$3$N(B HOWTO $B$O!"%7%j%"%k%i%$%s$rB?=E2=$7%M%C%H%o!<%/@\B3$r2DG=$K$9$k(B
 Michael O'Reilly $B$NM%$l$?%=%U%H%&%'%"!"(BTERM $B$r;H$&$3$H$K$h$k:.Mp$r$$$/$i$+$G(B
$B$b4KOB$9$k$?$a$N$b$N$G$9!#$I$NE@$+$i$_$F$b!"(BTERM $B$KIUB0$9$kJ8=q$OBgJQNI$$$b$N(B
$B$G!"$3$N(B HOWTO $B$O$=$l$i$KBe$o$k$b$N$G$O$"$j$^$;$s!#$3$NJ8=q$NL\E*$O!"(BTERM $B$,(B
$B$I$N$h$&$KF0$$$F$$$k$N$+$H$$$&GX7J$d!"$$$/$D$+$N$5$i$J$k0lHLE*$J%M%C%H%o!<%/(B
$B%5!<%S%9$r(B TERM $B$N$b$H$GF0$+$9pJs$rFI$s$G2<$5$$!#(B


2.2.  TERM $B$H$O2?$+!)(B


  TERM $B$O(B Michael O'Reilly ([email protected]) $B$K$h$C$F=q$+$l!"(BBill Riemers
 ([email protected]) $B$K$h$C$F%a%s%F%J%s%9$5$l$F$*$j!"%7%j%"%k%i%$%s>e$G(B
$BF1;~$KJ#?t$N%3%M%/%7%g%s$rD%$k$3$H$r2DG=$K$7$^$9!#!aNc$($P!"%b%G%`$G%G!<%?$r(B
$B%@%&%s%m!<%I$7$F$$$k;~$K!"F1$8%b%G%`%3%M%/%7%g%s>e$G(B($B$^$?JL$N(B)$B%j%b!<%H%7%9%F(B
$B%`$r;H$C$F:n6H$9$k$3$H$,2DG=$G$9!#(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$H$7$F(B TERM $B$r%$%s%9%H!<%k$9$k:](B
$B$K$O!":G=i$K(B 'term' $B$H$$$&%a%s%P!<$N$$$J$$%0%k!<%W$r(B /etc/group $B$K0J2<$N$h$&(B
$B$J9T$rDI2C$7$F:n$C$F$*$/I,MW$,$"$j$^$9(B($B%3%s%Q%$%k$NA0$K(B)$B!#(B


    term::16:root



$B!!$^$?$O!"%0%k!<%W(B ID 16 $BHV$,$9$G$K;H$o$l$F$7$^$C$F$$$?$iJL$NL$;HMQ$N$b$N$r(B
$B;H$C$F$/$@$5$$!#(B

$B!!%3%s%Q%$%k$H%$%s%9%H!<%k$,=*$o$C$?$i(B TERM $B$H$=$N%/%i%$%"%s%H$r(B 'term' $B$K(B
SGID $B$7$F$/$@$5$$(B:


    chgrp term <term_client>
    chmod g+s <term_client>



$B!!$5$i$K!"(BTERM $BBP1~$NB>$N%W%m%0%i%`$b(B 'term' $B$K(B SGID $B$7$F$*$+$M$P$J$j$^$;$s!#(B


4.2.2.  $B%U%k(B TERM $B%M%C%H%o!<%/(B


$B!!(BTERM $B%P!<%8%g%s(B 2.0.0 $B$+$i!"%U%k(B TERM $B%M%C%H%o!<%/$H$$$&5-=R$,;H$o$l$k$h$&(B
$B$K$J$j$^$7$?!#303&$H$N%3%M%/%7%g%s$,(B TERM $B%3%M%/%7%g%s$@$1$7$+$J$$>l9g!"%U%k(B
TERM $B%M%C%H%o!<%/$r;H$&$3$H$K$J$j!"$"$J$?$O%U%k(B TERM $B%M%C%H%o!<%/$rF~$l$F(B TERM
$B$r9=C[$9$k$Y$-$G$7$g$&!#$3$N$h$&$J>l9g!"6&M-%G%#%l%/%H%j$K(B termnet $B$H$$$&%U%!(B
$B%$%k$,CV$+$l$^$9!#$3$l$O(B TERM $B$K303&$H$N%3%M%/%7%g%s$,(B TERM $B$rDL$8$F$7$+9T$o(B
$B$l$J$$$3$H$r(B TERM $B$KCN$i$;$k$?$a$N$b$N$G$9!#(B

$B!!(BTERM $B%3%M%/%7%g%s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+$l$^$9!#(B


1. TERM $B$N9=C[!"%P!<%8%g%s(B 2.0.0 $B0J>e(B

2. TERM $B$N9=C[!"%P!<%8%g%s(B 1.16 $B$+$i(B 1.19 $B$^$G(B

3. TERM $B$N9=C[!"%P!<%8%g%s(B 1.15 $B$^$G(B


4.3.1.  TERM $B$N9=C[!"%P!<%8%g%s(B 2.0.0 $B0J>e(B


$B!!:G=i$K!">e$N!V%U%k(B TERM $B%M%C%H%o!<%/!W$K$D$$$F$N%;%/%7%g%s$rFI$s$@$+$I$&$+(B
$B3NG'$7$F$/$@$5$$!#(B

$B!!(BTERM $B%P!<%8%g%s(B 2.0.0 $B$+$=$l0J>e$G$O!"(BTERM $B$N%P%$%J%j$H%/%i%$%"%s%H$r:n$k$?(B
$B$a$KB?$/$NJ}K!$,$"$j$^$9!#$3$l$i$N$9$Y$F$O(B root $B$G$"$C$F$b0lHL%f!<%6$G$"$C$F(B
$B$b$`$h$&$K!"B>$N%*%W%7%g%s$b;XDj$G$-(B
$B$^$9(B($BNc$($PI8=`E*$G$J$$(B path)$B!#(B


1. $B%U%k(B TERM $B%M%C%H%o!<%/$r;H$o$:$K%W%i%$%Y!<%H%b!<%I$G(B TERM $B$r9=C[$9$k(B

$B!!$3$NJ}K!$G(B TERM $B$r9=C[$9$k$K$O!"J}(B)$B!'(B


    ./configure --root $B$^$?$O(B --user
    make install installman



$B!!$3$l$O%P%$%J%j$r9=C[$7!"$=$l$i$N%P%$%J%j$H%^%K%e%"%k%Z!<%8$r%$%s%9%H!<%k$7(B
$B$^$9!#(B

2. $B%U%k(B TERM $B%M%C%H%o!<%/$r;H$C$F%W%i%$%Y!<%H%b!<%I$G(B TERM $B$r9=C[$9$k(B
$B!!$3$NJ}K!$G(B TERM $B$r9=C[$9$k$K$O!"J}(B)$B!'(B


    ./congfigure --root $B$^$?$O(B -user
    make installnet installman


$B!!$3$l$O%P%$%J%j$r9=C[$7!"$=$l$i$N%P%$%J%j$H%^%K%e%"%k%Z!<%8$r%$%s%9%H!<%k$7(B
$B$^$9!#(B

3. $B%U%k(B TERM $B%M%C%H%o!<%/$r;H$o$J$$$G6&M-%b!<%I$G(B TERM $B$r9=C[$9$k(B
$B!!$3$NJ}K!$G(B TERM $B$r9=C[$9$k$K$O!"J}(B)$B!'(B


    ./configure --root $B$^$?$O(B --user
    make share installman


$B!!$3$l$O%P%$%J%j$r9=C[$7!"$=$l$i$N%P%$%J%j$H%^%K%e%"%k%Z!<%8$r%$%s%9%H!<%k$7(B
$B$^$9!#(B

4. $B%U%k(B TERM $B%M%C%H%o!<%/$r;H$C$F6&M-%b!<%I$G(B TERM $B$r9=C[$9$k(B
$B!!$3$NJ}K!$G(B TERM $B$r9=C[$9$k$K$O!"J}(B)$B!'(B


    ./configure --root $B$^$?$O(B --user
    make share installnet installman

$B!!$3$l$O%P%$%J%j$r9=C[$7!"$=$l$i$N%P%$%J%j$H%^%K%e%"%k%Z!<%8$r%$%s%9%H!<%k$7(B
$B$^$9!#(B


4.3.2.  TERM $B$N9=C[!"%P!<%8%g%s(B 1.16 $B$+$i(B 1.19 $B$^$G(B


$B!!$3$l$i$N%P!<%8%g%s$N(B TERM $B$r9=C[$9$k$?$a$K!"0J2<$NJ}K!$NCf$+$iA*$V$3$H$,$G(B
$B$-$^$9!#(B


1. $B0lHL%f!<%6$H$7$F!"%W%i%$%Y!<%H%b!<%I$G(B TERM $B$r9=C[$9$k(B

2. $B0lHL%f!<%6$H$7$F!"6&M-%b!<%I$G(B TERM $B$r9=C[$9$k(B

3. root $B$H$7$F!"%W%i%$%Y!<%H%b!<%I$G(B TERM $B$r9=C[$9$k(B

4. root $B$H$7$F!"6&M-%b!<%I$G(B TERM $B$r9=C[$9$k(B

$B!!$$$+$K!"(BTERM $B$N%3%s%Q%$%k$N;~$K6&M-5!G=$rF3F~$7$?$j!"@Z$C$?$j$9$kJ}K!$K$D$$(B
$B$F@bL@$7$^$9!#(B


1. $B$"$J$?$O0lHL%f!<%6$G(B(root $B%"%/%;%9$,$J$/(B)$B!"B>$N%f!<%6$H(B TERM $B%3%M%/%7%g%s(B
$B$r!N6&M-$7$?$/$J$$!O$H$7$^$9!#(B

$B!!(BTERM $B%3%M%/%7%g%s$rB>$N%f!<%6$H6&M-$7$?$/$J$$%f!<%6$O!"(BTERM $B$r9=C[$9$k$?$a(B
$B$K0J2<$N$h$&$K$7$^$9!'(B


    make DO=install OS-type
    make installman



$B!!(BTERM $B$N8e!"$=$N%/%i%$%"%s%H$H%^%K%e%"%k%Z!<%8$,9=C[$5$l%$%s%9%H!<%k$5$l$^$9!#(B

$B!!$5$i$K!"$"$J$?$O(B '$HOME/.term' $B$H$$$&%G%#%l%/%H%j$r:n$kI,MW$,$"$j$^$9!#$3$l(B
$B$O!"(BTERM $B$,(B 'termrc' $B%U%!%$%k$rC5$9$?$a$N%G%#%l%/%H%j$G$9!#(B

2. $B$"$J$?$O0lHL%f!<%6$G(B(root $B%"%/%;%9$,$J$/!K!"(BTERM $B%3%M%/%7%g%s$rB>$N%f!<%6(B
$B$H!N6&M-$7$?$$!O$H$7$^$9!#(B
$B!!(BTERM $B%3%M%/%7%g%s$r6&M-$7$?$$%f!<%6$O!"$3$N$h$&$K$7$^$9!'(B


    make DO=installshare USERSHARE=$HOME/term OS-type
    make installman


$B!!(BTERM $B$N8e!"$=$N%/%i%$%"%s%H$H%^%K%e%"%k%Z!<%8$,9=C[$5$l%$%s%9%H!<%k$5$l$^$9!#(B

$B!!$5$i$K!"%Q!<%_%C%7%g%s(B 'drwxrwxr-x' $B$r$b$C$?%G%#%l%/%H%j(B '$HOME/term'($B%G(B
$B%U%)%k%H(B)$B$,I,MW$G$9!#:GDc$G$b!"$3$N%G%#%l%/%H%j$NCf$K(B TERM $B$,$=$N%3%M%/%7%g%s(B
$B$K;H$&%=%1%C%H(B('tmp/private/socket=')$B$,8+$D$+$k$G$7$g$&!#(B

3. $B$"$J$?$O(B root $B$G!"B>$N%f!<%6$H(B TERM $B%3%M%/%7%g%s$r!N6&M-$7$?$/$J$$!O$H$7$^(B
$B$9!#(B

$B!!(BTERM $B%3%M%/%7%g%s$r6&M-2DG=$K$7$?$/$J$$(B root $B$O(B TERM $B$r9=C[$9$k$?$a$K0J2<$N(B
$B$h$&$K$7$^$9!'(B


    make DO=install OS-type
    make installman


$B!!(BTERM $B$N8e!"$=$N%/%i%$%"%s%H$H%^%K%e%"%k%Z!<%8$,9=C[$5$l%$%s%9%H!<%k$5$l$^$9!#(B

$B!!$5$i$K!"%Q!<%_%C%7%g%s(B 'drwxr-xr-x' $B$r$b$C$?%G%#%l%/%H%j(B
'/usr/local/lib/term'($B%G%U%)%k%H(B)$B$,I,MW$G$9!#:GDc$G$b!"$3$N%G%#%l%/%H%j$NCf$K(B
TERM $B$,$=$N%3%M%/%7%g%s$K;H$&%=%1%C%H(B('tmp/private/socket=')$B$,8+$D$+$k$G$7$g(B
$B$&!#(B

4. $B$"$J$?$O(B root $B$G!"(BTERM $B%3%M%/%7%g%s$r!N6&M-$7$?$$!O$H$7$^$9!#(B

$B!!:G=i$K!">e$N!V6&M-!W$N%;%/%7%g%s$rFI$s$@$3$H$r3NG'$7$F$/$@$5$$!#(B

$B!!(BTERM $B%3%M%/%7%g%s$r6&M-$7$?$$(B root $B$O0J2<$N$h$&$K$7$^$9!'(B


    make DO=installshare OS-type
    make installman


$B!!(BTERM $B$N8e!"$=$N%/%i%$%"%s%H$H%^%K%e%"%k%Z!<%8$,9=C[$5$l%$%s%9%H!<%k$5$l$^$9!#(B

$B!!$5$i$K!"%Q!<%_%C%7%g%s(B 'drwxrwxr-x' $B$r$b$A(B TERM $B%0%k!<%W$K=jM-$5$l$?%G%#%l(B
$B%/%H%j(B '/usr/local/lib/term'($B%G%U%)%k%H(B)$B$,I,MW$G$9!#:GDc$G$b!"$3$N%G%#%l%/%H(B
$B%j$NCf$K(B TERM $B$,$=$N%3%M%/%7%g%s$K;H$&%=%1%C%H(B('tmp/private/socket=')$B$,8+$D$+(B
$B$k$G$7$g$&!#(B


4.3.3.  TERM $B$N9=C[!"%P!<%8%g%s(B 1.15 $B$^$G(B


$B!!$3$l$i$N%P!<%8%g%s$N(B TERM $B$N9=C[$K$O$3$N%3%^%s%I0J30$KI,MW$"$j$^$;$s!#(B


    make DO=install OS-type
    make installman

$B!!$3$N8e!"(BTERM $B$H!"$=$N%/%i%$%"%s%H$H%^%K%e%"%k%Z!<%8$,$&$^$/9=C[$5$l$F%$%s%9(B
$B%H!<%k$5$l!";H$($k$h$&$K$J$C$F$$$k$G$7$g$&!#(B

$B!!$5$i$K!"%G%#%l%/%H%j(B '$HOME/term' $B$r:n$k$3$H$,I,MW$G$9!#$3$N%G%#%l%/%H%j$O!"(B
TERM $B$,(B termrc $B%U%!%$%k$rC5$9$?$a$K;H$$$^$9!#(B

$B!!$d$i$J$/$F$O$J$i$J$$$3$H$O!"(BMakefile $BCf$N$$$/$D$+$N(B PATH $B$H%3%s%Q%$%i%U%i%0$r(B
$BJQ99$9$k$3$H$@$1$G$9!#(B


4.4. client.a, libtermnet.a, libtermnet.sa, libtermnet.so


$B!!(BTERM $B$H$H$b$K!"(BTERM $B%/%i%$%"%s%H$N$?$a$N4X?t72$N%i%$%V%i%j$,Ds6!$5$l$F$$$^(B
$B$9!#(B

$B!!%P!<%8%g%s(B 1.16 $B$^$G$O!"$3$N%i%$%V%i%j$O(B client.a $B$H8F$P$l$F$$$^$7$?!#(BTERM 
$B$N%3%s%Q%$%k;~$K$3$N%i%$%V%i%j$b9=C[$5$l!"(BTERM $B%/%i%$%"%s%H$N%3%s%Q%$%k$N;~$K(B
$B;H$o$l$F$$$^$7$?!#$^$?!"JL$N%G%#%l%/%H%j$K$O%$%s%9%H!<%k$5$l$^$;$s$G$7$?!#(B

$B!!%P!<%8%g%s(B 1.16 $B$+$i%i%$%V%i%j$NL>A0$,(B libtermnet.a $B$KJQ$o$C$F$$$^$9!#%P!<(B
$B%8%g%s(B 1.19 $B$^$G$O$3$N%i%$%V%i%j$O(B TERM $B%G%#%l%/%H%j$K:n$i$l!"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%j$O$"$J$?$N<+J,$N%=%U%H%&%'%"$r(B TERM 
$BBP1~$K$9$k$?$a$KMxMQ$9$k$3$H$b$G$-$^$9!J0J2<;2>H!K!#(B


4.5.  $B4D6-JQ?t$N@_Dj(B


$B!!(BTERM $B$O%f!<%6$K$h$C$F@_Dj$5$l$?$$$/$D$+$N4D6-JQ?t$rG'<1$7$^$9!#$3$l$i$N$&(B
$B$A!";d$,2r@b$9$k:G=i$N#3$D$O!'(B


o  TERMDIR

o  TERMSHARE

o  TERMMODE

$B!!$3$l$i$NJQ?t$r@_Dj$9$k$3$H$G(B TERM $B$Nl9g!"JQ?t$N@_Dj$K$OFs$D$NJ}K!$,$"$j$^$9!'(B


a. TERM $B$,(B SUID $B%W%m%0%i%`$H$7$F%$%s%9%H!<%k$5$l$?>l9g!"(B TERMMODE $B$N$_@_Dj$9$k(B
$BI,MW$,$"$j$^$9!#(B


    setenv TERMMODE 2    (csh $B$^$?$O(B tcsh)
    export TERMMODE=2    (bash)


b. TERM $B$,(B SGID $B%W%m%0%i%`$H$7$F%$%s%9%H!<%k$5$l$F$$$k$H$-$K$O!"JQ?t$O0J2<$N(B
$B$h$&$K@_Dj$9$kI,MW$,$"$j$^$9!#(B

$B!!(Bcsh $B$+(B tcsh $B$G$O(B

    setenv TERMMODE 1
    setenv TERMDIR /usr/local/lib/term
    setenv TERMSHARE $TERMDIR



$B!!(Bbash $B$G$O(B
    export TERMMODE=1
    export TERMDIR=/usr/local/lib/term
    export TERMSHARE=$TERMDIR

$B!!$3$N$h$&$KJQ?t$r@_Dj$9$k$3$H$G!"8E$$%/%i%$%"%s%H(B($B8E$$%P!<%8%g%s$N(B client.a 
$B$r%j%s%/$7$?%/%i%$%"%s%H(B)$B$Ne$N%3%M%/%7%g%s$rD%$k$H$-(B
$B$K@_Dj$9$kI,MW$,$"$j$^$9!#$I$N%3%M%/%7%g%s$r;H$&$N$+FCDj$9$k$?$a$K!"(BTERM $B$r(B
$B%5!<%P%M!<%`IU$-$G5/F0$7$J$/$F$O$J$j$^$;$s!'(B


    nohup term -v /dev/modem1 Connection1 &
    nohup term -v /dev/modem2 Connection2 &



$B!!%f!<%6$O;H$$$?$$%3%M%/%7%g%s$NL>A0$rJQ?t(B TERMSERVER $B$K@_Dj$9$k$3$H$K$J$j$^(B
$B$9!#(B


    setenv TERMSERVER Connection1    (csh $B$^$?$O(B tcsh)
    export TERMSERVER Connection2    (bash)




4.6.TERM $B$N%F%9%H(B



$B!!(BTERM $B$N%F%9%H%G!<%b%s$r9=C[$9$k$?$a$K(B make test ($B?7$7$$%P!<%8%g%s$N(B TERM $B$G(B
$B$O(B make termtest)$B$re$GFs$D$N(B
$B%3%T!<$H$7$F:nF0$7!"(Btrsh $B$H(B tupload $B$,2DG=$K$J$C$F$$$k$O$:$G$9(B($B;n$7$F$_$F$/$@(B
$B$5$$(B


    tupload ./term /usr/tmp


$B$O(B '/usr/tmp$B!G$K(B TERM $B%P%$%J%j$N%3%T!<$r:n@.$7$^$9!K!#%m!<%+%k$N(B TERM $B$N=PNO(B
$B$O(B 'local.log'$B$K!"%j%b!<%H$N$b$N$O(B 'remote.log'$B$K=PNO$5$l$^$9!#$"$J$?$O(B TERM 
$B$r(B -d255 $B%U%i%0$r$D$1$F$3$l$i$N%U%!%$%k$K%G%P%C%0=PNO$r$5$;$k$3$H$,$G$-!"$^(B
$B$?!"(Btermrc $B%U%!%$%kCf$G%;%C%H$9$k$3$H$b$G$-$^$9!#(B

$BCm0U!'(Btest $B$O(B ./test $B$HA0$rI,MW$H(B
$B$7$J$/$J$j$^$7$?!#%m%0%U%!%$%k$O(B linecheck $B$r5/F0$7$?%G%#%l%/%H%j>e$N%U%!%$%k(B
'linecheck.log' $B$K$=$N=PNO$r=q$-=P$7$^$9!#(B

$B!!(BLinecheck $B$O(B TERM $B$H$H$b$K6!5k$5$l$k%W%m%0%i%`$G$9!#%j%s%/$NF)2a@-$r%A%'%C(B
$B%/$7$F(B TERM $B$,@5$7$/F0:n$9$k$?$a$KI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shutdown $B$H$$$&%W%m%0%i%`$,$"$j$^$9(B($Be$N%G%#%l%/%H%j$,B8:_(B
$B$9$k$O$:$G$9!'(B

    $HOME/.term/termrc
    $HOME/.term/termrc.<server>
    $HOME/term/termrc
    $HOME/term/termrc.<server>
    /usr/local/lib/term/termrc
    /usr/local/lib/term/termrc.<server>
    /etc/termrc
    /etc/termrc.<server>


$B!!$3$l$i$N%G%#%l%/%H%j$O$=$NCf?H$H6&$K:o=|$9$k$3$H$,$G$-$^$9!#$3$N$?$a$K$O(B
'/bin/rm -rf'$B$r;H$C$F$/$@$5$$!#(B

o 'term'$B%0%k!<%W!#%$%s%9%H!<%k$NJ}K!$N$&$A$$$/$D$+$G$O!"(B'term'$B$H$$$&%0%k!<%W(B
$B$r:n$kI,MW$,$"$j$^$7$?!#(B'/etc/group' $B$K(B'term'$B%(%s%H%j$,$J$$$+3NG'$7$F$/$@$5(B
$B$$!#$b$7$"$C$?$i$=$l$r:o=|$7$^$9!#(B

o TERM $B%Q%C%1!<%8$H(B TERM $BBP1~$N%U%!%$%k$K$D$$$F!"9=@.$rK:$l$J$$$h$&$K$7$F$/$@$5$$!#(B

o $B%i%$%V%i%j%U%!%$%k!#$3$l$i$r:o=|$9$k$?$a$K$O0J2<$N$h$&$K$9$k$N$,:G$bNI$$$G(B
$B$7$g$&!'(B


    cd /
    find . -name libtermnet* -exec /bin/rm {}


$B!!$3$N%3%^%s%I$O%i%$%V%i%j%U%!%$%k$r8+$D$1$F:o=|$7$^$9!#(B

o $B%$%s%/%k!<%I%U%!%$%k!#$3$l$K4X$7$F$b!"0J2<$N%3%^%s%I$rJ}$G;n$7$F$_$F$/$@$5$$!(%W%l%$%s%F%-%9%H$O05=L$5$l$?%U%!%$%k$NFsG\$/$i(B
$B$$B.$$$G$7$g$&!#$$$8$l$k%Q%i%a!<%?$O%\!<%l!<%H(B(-s)$B!"05=L(B(-c)$B!"%&%#%s%I%&(B
(-w)$B!"%?%$%`%"%&%H(B(-t)$B!"$=$7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B
$B%i!<$KBP$9$k2r7hK!$O(B TERM $B$r%9%?%F%#%C%/%i%$%V%i%j$G@_Dj$9$k$3$H$G$9!#$3$N$?(B
$B$a$K!"(B'./configure --user --static' $B$r$N(B bin 
$B%G%#%l%/%H%j(B)$B$K0\F0$5$l$F$$$^$9!#(B

$B!!$3$l$Kl=j$KCV$$$F$$$^$9$+!)$"$J$?$N;H$C$F$$$k(B TERM $B$N%P!<(B
$B%8%g%s$H%$%s%9%H!<%k$NJ}K!(B(root $B$H$7$F$+!"%f!<%6$H$7$F$+(B)$B$K$h$C$F!"%U%!%$%k$O(B
$B0J2<$N%G%#%l%/%H%j$N$&$A$N0l$D$K$"$k$O$:$G$9!#(B


    $HOME/.term/termrc
    $HOME/.term/termrc.<server>
    $HOME/term/termrc
    $HOME/term/termrc.<server>
    /usr/local/lib/term/termrc
    /usr/local/lib/term/termrc.<server>
    /etc/termrc
    /etc/termrc.<server>

$B!!%7%9%F%`$K$h$C$F$O$"$i$+$8$a%$%s%9%H!<%k$5$l$?(B 'termrc' $B$,$"$j$^$9!(%;%C%H(B
$B%"%C%W$9$kA0$K$=$l$i$,>C$5$l$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(Broot $B$H$7$F:n6H$7$F(B
$B$$$k$N$J$i!"(B'/.term' $B$KCm0U$7$F$/$@$5$$!#(BTERM $B$Ol=j$H%Q!<%_%C%7%g%s$r3NG'$7$F$/$@$5$$!#(B


o 'termrc' $B%U%!%$%kCf$N%(%s%H%j$O@5$7$$J8K!$H%9%Z%j%s%0$K$J$C$F$$$^$9$+!)L@$i(B
$B$+$K$J$C$F$$$kLdBj$O!"$$$/$D$+$N%-%c%i%/%?$r%(%9%1!<%W$7$?$jL5;k$7$?$j$7$?$$(B
$B?M$?$A$,(B 'termrc' $B%U%!%$%k$K$N%-%c%i%/%?$O!"2?$b8@$o$:$K$J(B
$B$$$b$N$H$7$F07$$$^$9!#(B

$B!!$$$/$D$+$N%-%c%i%/%?$r%(%9%1!<%W!"$"$k$$$OL5;k$7$J$/$F$O$J$i$J$$>l9g!"$=$l(B
$B$>$l%-!<%o!<%I(B escape $B$"$k$$$O(B ignore $B$G;O$^$kJL!9$N9T$K=q$+$J$/$F$O$J$j$^$;(B
$B$s!#%(%9%1!<%W!"$"$k$$$OL5;k$7$J$1$l$P$J$i$J$$%-%c%i%/%?$KI}$,$"$k$H$-$N$_!"(B
$B0J2<$N$h$&$JJ}K!$r$H$k$3$H$,$G$-$^$9!'(B


    escape 16-29      # escape characters 16, 17, 18, 19
    escape 23         # 23
    escape 255        # and 255
    ignore 16-19      # ignore characters 16, 17, 18, 19
    ignore 23         # 23
    ignore 255        # and 255


o 'term' $B$^$?$O(B '.term' $B%G%#%l%/%H%j$,(B NFS $B$G%^%&%s%H$5$l$F$$$^$;$s$+!)$b$7(B 
'term' $B$^$?$O(B '.term' $B%G%#%l%/%H%j$,(B NFS $B$G%^%&%s%H$5$l$F$$$k>l9g!"(BMakefile $B$N(B
CFLAGS $B$N9T$K(B -DTERM_NFS_DIR $B%U%i%0$r%;%C%H$9$kI,MW$,$"$j$^$9!#;DG0$J$,$i!"I.(B
$Bl9g!#(B

$B!!$3$l$r2r7h$9$k$K$O0J2<$N$3$H$r3NG'$7$F$/$@$5$$!'(B

1. $B%U%!%$%k(B '/etc/hosts' $B$O@5$7$/@_Dj$5$l$F$$$^$9$+!)(B <hostname> $B$O$"$J$?$N%[(B
$B%9%HL>$G$O$"$j$^$;$s(B($B8E$$(B SLS $B$N%j%j!<%9$H!"$$$/$D$+$N8E$$!"$^$??7$7$$(B 
Slackware $B%j%j!<%9$G$O!"Nc$H$7$F(B 'darkstar' $B$H$$$&%[%9%H%M!<%`$,$D$$$F$$$^(B
$B$9(B)$B!#%U%!%$%k$NCf$N$3$NItJ,$r=$@5$7$F$/$@$5$$!#:GDc$G$b0J2<$N9T$r4^$^$M$P$J$j(B
$B$^$;$s(B($B=q$-J}$O$=$N>e$K=q$$$F$"$j$^$9(B)$B!'(B


    # Local Hosts Format:
    # IP_NUMBER              HOSTNAME        ALIASES
    #
    # Here is the name of your host, first, followed by any aliases
    127.0.0.1       localhost       linuxpc.domain  linuxpc


$B!!$b$7303&$H$N%3%M%/%7%g%s$,(B TERM $B$K$h$k$b$N$7$+$J$$$N$G$"$l$P!"%U%!%$%k(B 
'/etc/hosts' $B$K$"$k$N$O>e$N9T$@$1$H$$$&$3$H$b$"$k$G$7$g$&!#$h$/K,$l$k9T$-@h$N(B
$B/$J(B
$B$$?t$N%a%C%;!<%8$,;~!98=$l$kDxEY$J$iLdBj$O$"$j$^$;$s!#$3$l$i$O$^$:4V0c$$$J$/(B
$B%m!<%+%k$H%j%b!<%H$r7k$VJ*M}E*%3%M%/%7%g%s$K1F6A$rM?$($k0l;~E*$JMW0x$K$h$k$b(B
$B$N$G$9!#(B

$B!!$3$l$i$N%a%C%;!<%8$r>o$K$?$/$5$se$N%;%/%7%g%s!V%3%M%/%7%g%s$r:GE,2=$9$k!W$G5s$2$?%Q%i%a!<%?(B
$B$r$$$8$kI,MW$,$"$j$^$9!#;DG0$J$,$i!"%$%s%9%H!<%k$N$3$NItJ,$O%H%i%$%"%s%I%((B
$B%i!<$N2aDx$H$$$&$3$H$K$J$j$^$9!#%3%M%/%7%g%s$K1F6A$rM?$($kMW0x$O$?$/$5$s$"$k(B
$B$N$G!"$$$m$$$m$J%Q%i%a!<%?$K$D$$$F$I$N$h$&$J?tCM$K$7$?$iNI$$$+$H$$$&$h$&$J0l(B
$BHLE*$J7h$^$j$O$"$j$^$;$s!#$3$l$i$NMW0x$O%3%M%/%7%g%s$K$h$C$F$b!"$^$?;~4V$K$h$C$F$b0[$J$j$^$9!#(B


o $B%j%@%$%l%/%H$5$l$?%]!<%H$r;H$&DL>o$N(B FTP $B$,F/$-$^$;$s$+!);DG0$J$3$H$K!"(BFTP 
$B$KI,MW$J%]!<%H(B(20 $B$H(B 21)$B$N%j%@%$%l%/%7%g%s$G$O(B FTP $B$,F/$+$J$$$H$$$&$N$OL@$i$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]!<%H(B 
2119 $B$K$"$k$H@_Dj$7$F$d$j$^$9!#MxMQ$9$k%K%e!<%9%j!<%@$K$b$h$k$N$G!"$3$3$G$O(B
$B%K%e!<%9%j!<%@$NBe$o$j$K(B telnet $B$r;H$C$F%j%s%/$r%F%9%H$9$k$@$1$K$7$^$7$g$&!#(B


    $ tredir 2119 news.domain.org:119
    Redirecting 2119 to news.domain.org:119
    $ telnet localhost 2119
    Trying 127.0.0.1...
    Connected to mymachine.modem.home.
    Escape character is '^]'.
    200 news.domain.org InterNetNews NNTP server INN 1.4 07-Dec-41 ready
    (posting ok).


  $B$3$3$^$GMh$l$P!"$"$H$d$k$Y$-$3$H$O%K%e!<%9%j!<%@$r(B TERM $B$rDL$7$FFI$a$k$h$&(B
$B$K@_Dj$9$k$3$H$@$1$G$9(B($B$b$7$3$N$h$&$K$7$F%K%e!<%9$rFI$`$N$G$"$l$P!"Ej9F$9$kA4(B
$B$F$N5-;v$N(B Reply-To: $B%X%C%@$K$K$-$A$s$HFO$/(B email $B%"%I%l%9$r%;%C%H$9$kI,MW$,(B
$B$"$j$^$9!#$=$&$G$J$$$H!"$"$J$?$KO"Mm$r$H$m$&$H$9$k?MC#$O%K%e!<%9%j!<%@$N$D$1(B
$B$k4V0c$C$?(B) From: $B%X%C%@$r8+$F%a!<%k$r=P$7$F$7$^$&$G$7$g$&(B)$B!#(B


7.1.  tredir can bite!


  $B:G8e$NNc$rFI$s$@8-L@$J$kFI.$5$$%]!<%H$O!VM=Ls%]!<%H!W$G!"(B
$B%9!<%Q!<%f!<%6$@$1$,$3$l$r;H$&$3$H$,$G$-$^$9!#$b$7%;%-%e%j%F%#>e$N4m81$rKA$7(B
$B$F(B tredir $B$r(B SUID $B$9$k$+!"(Broot $B$H$7$F(B tredir $B$r$5$;$J$/$F$O$J$j$^$;$s!#(B


7.2.  Stupid tredir tricks


  $B$3$N%;%/%7%g%s$G$O!"$b$C$H0lHLE*$J(B tredir $B$NMxMQ$r=R$Y$^$9!#$9$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!<%H(B 6000 + n 
$B$K$D$J$4$&$H$7$^$9!#(B

  $B$3$N$3$H$r!"%m!<%+%k%^%7%s$N(B X $B%/%i%$%"%s%H$r$@$^$7$F%j%b!<%H$N%G%#%9%W%l%$(B
$B$K%&%#%s%I%&$r3+$+$;$k$N$K;H$&$3$H$,$G$-$^$9!#%m!<%+%k%^%7%s$GAv$k(B xterm $B$r!"(B
$B%M%C%H%o!<%/$N$I$3$+$K$"$k(B xmachine $B$N%G%#%9%W%l%$(B 0 $B$K3+$$$F$_$^$7$g$&!#:G=i(B
$B$K!"%m!<%+%k$N%G%#%9%W%l%$HV9f!"(B2 $B$rA*$S$^$9(B(0 $B$r;H$C$F$O$$$1$^$;$s!#%m!<%+%k(B
$B$N(B X $B%5!<%P$,$-$C$H;H$C$F$$$k$O$:$@$+$i$G$9!#$3$N%G%#%9%W%l%$$r(B xmachine $B$N(B
$B%G%#%9%W%l%$(B 0 $B$K3d$jEv$F$^$9!#%]!<%HHV9f$G8@$&$H!"$3$N$3$H$O%m!<%+%k%]!<%H(B 
6002 $B$r(B $B%j%b!<%H%]!<%H(B 6000 $B$K%j%@%$%l%/%H$9$k$3$H$K$J$j$^$9!#$3$&$7$F$_$^(B
$B$7$g$&!#(B


    $ tredir 6002 xmachine:6000
    $ setenv DISPLAY localhost:2
    $ xterm


  $B$3$l$G(B xmachine $B>e$K(B xterm $B$,3+$/$O$:$G$9!#$7$+$7(B DISPLAY $B$r(B localhost:2 $B$K(B
$B%;%C%H$7$?$3$H$KCm0U$7$F2<$5$$!#$3$l$O!"(BDISPLAY $B$r(B :2 $B$K%;%C%H$9$k$H(B X $B%/%i%$(B
$B%"%s%H$,%m!<%+%k%G%#%9%W%l%$$K@\B3$7$?;~$K%*%W%7%g%s$G%$%s%?!<%M%C%H%I%a%$%s(B
$B%=%1%C%H$G$O$J$/(B unix $B%I%a%$%s%=%1%C%H$r;H$&$3$H$,$"$k$+$i$G$9!#(Blocalhost:2 
$B$O(B TCP $B%3%M%/%7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F(B '/etc/services' $B$K=q$$$F(B smail $B$KG'<1$5$;$J$1$l$P$J$j$^$;$s(B)$B!#(BSmail 
$B$K$OIaDL(B '/usr/local/lib/smail' $B$KCV$+$l$k$$$/$D$+$N@_Dj%U%!%$%k$,$"$j$^$9!#(B
$B$3$l$+$i$NO@5D$G$O!"$9$G$K%m!<%+%k%a!<%k$K$D$$$F$O@5$7$/@_Dj$5$l$F$$$k$b$N$H(B
$B$7$^$9!]!]%U%!%$%k$d!"%Q%$%W$d!"$=$&$$$C$?$b$N$X$NG[C#$G$9!#$b$&0lEY8@$$$^$9(B
$B$,!"$^$@$G$-$F$$$J$$$N$G$"$l$P%I%-%e%a%s%H$rFI$s$G$/$@$5$$!#(B

$B!!%U%!%$%k(B 'config' $B$K!"0J2<$N$h$&$JDj5A$r2C$($^$9!'(B

    smart_path=localhost


$B!!(Blocalhost $B$O!"%a%C%;!<%8$r$I$&07$C$F$$$$$N$+$o$+$i$J$$$H$-$K$D$J$0%^%7%sL>(B
$B$G$9!#(B

$B!!(B'routers' $B$K$O!"$3$l$rF~$l$^$9!#(B


    smart_host:
    driver=smarthost,
    transport=termsmtp;
    path=localhost


$B!!(B'transport' $B$K$O$3$l$rF~$l$^$9!#(B


    termsmtp:        driver=tcpsmtp,
          inet,
          return_path,
          remove_header="From",
          append_header="From: YOUR_NET_ADDRESS",
          -received,
          -max_addrs, -max_chars;
          service=YOUR_SMTP_SERVICE,


$B!!>e$G$O!"(Bheader $B$N9T$,=P$F$$$/A4$F$N%a!<%k$N(B From $B%X%C%@$r(B YOUR_NET_ADDRESS 
$B$K=q$-49$($F$$$^$9!#$3$l$O$"$J$?$,%a!<%k$rAw$j$?$$%M%C%H%o!<%/$N%"%I%l%9$G(B
$B$9!#$b$7J#?t$N%f!<%6$,(B TERM $B%j%s%/$r;H$&$N$J$i!"%m!<%+%k%f!<%6$N%M%C%H%o!<%/(B
$B%"%I%l%9$N%G!<%?%Y!<%9$r:n$C$F(B From: $B%X%C%@$KKd$a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$k$3$H$K$7$^$7$?!#(B


    #
    #Create the termsmtp mailer, which sends mail via a re-directed TCP port
    #
    Mtermsmtp,P=[TCP], F=mDFMuCXe, S=22, R=22, A=TCP $h PORTNUMBER


$B!!$3$3$G!"(BPORTNUMBER $B$O%m!<%+%k%^%7%s$N%j%@%$%l%/%H$5$l$?%]!<%H$NHV9f$G$9!#$3(B
$B$l$O(B 2000 $B0J>e$N;H$o$l$F$$$J$$%]!<%H$G$"$k$Y$-$G$7$g$&!#A0$G$9(B(localhost $B$GF0$/$G$7$g$&$+!)(B)$B!#(B
$B:G8e$N%(%s%H%j$O%$%s%?!<%M%C%H%a!<%k$rE>Aw$9$k(B O $B%k!<%k$K4p$E$/$b$N$G$9!#(B


    # Pass other valid names up the ladder to our forwarder
    R$*<@$*.$+>$*         $#$M    $@$R $:$1<@$2.$3>$4     [email protected]


$B!!%$%s%?!<%M%C%H%[%9%H$K(B TERM $B%3%M%/%7%g%s$,3NN)$5$l$?$i!"%m!<%+%k%^%7%s>e$G(B
$BDj$7$^$9!#(B
$B%m!<%+%k%]!<%H(B 2110 $B$r%j%@%$%l%/%H$7!"(Bpop-perl $B%/%i%$%"%s%H$r5/F0$7$^$9!'(B


    $ tredir 2110 mailhost:110
    Redirecting 2110 to mailhost:110
    $ pop
    Username: bill
    Password: <enter your password for mailhost>
    Pop Host: name of local
    Pop Port: 2110
    Starting popmail daemon for bill


$B!!(BPOP $B%5!<%P$,MxMQ$G$-$J$$>l9g!"(BBCRMailHandler $B%Q%C%1!<%8$K(B TERM $B%j%s%/$rDL$8(B
$B$F%a!<%k$r%m!<%+%k%^%7%s$K%@%&%s%m!<%I$9$k%W%m%0%i%`$,4^$^$l$F$$$^$9!#;d$O(B
$B;H$C$?$3$H$,$"$j$^$;$s$,!";H$C$?$3$H$N$"$kJ}$N%3%a%s%H$r4?7^$7$^$9!#(B
term.mailerd+smail $B%Q%C%1!<%8$b$3$NL\E*$K;H$&$3$H$,$G$-$^$9!#;DG0$J$,$i!"(B
BCRMailHandler $B$b(B term.mailerd+smail $B%Q%C%1!<%8$b(B TERM $B%P!<%8%g%s(B 2.0.0 $B0J>e(B
$B$G$O$b$&F0$-$^$;$s!#(B


8.  tudpredir


$B!!(Btudpredir $B$O!"%W%m%0%i%`$,2?$r$9$k$N$+!"$^$?$I$N$h$&$K5/F0$5$l$k$N$+$H$$$&(B
$B$3$H$r8+$l$P(B tredir $B$K;w$F$$$^$9!#$3$l$iFs$D$N%W%m%0%i%`$NBg$-$J0c$$$O(B tredir
$B$,(B TCP $B%M%C%H%o!<%/%5!<%S%9$r%j%@%$%l%/%H$9$k$?$a$K;H$o$l$k$N$KBP$7$F!"(B
tudpredir $B$O(B UDP (User Datagram Protocol) $B%M%C%H%o!<%/%5!<%S%9$r(B TERM $B%j%s%/(B
$B$rDL$7$F%j%@%$%l%/%H$9$k$H$$$&$3$H$G$9!#Fs$D$N%W%m%0%i%`$N4V$N$b$&0l$D$N0c$$(B
$B$O!"(Btredir $B$,%m!<%+%k%]!<%H$r3NN)[email protected]$9$k$H%P%C%/%0%i%&%s%I%G!<%b%s$K(B
$B$J$k$N$KBP$7$F!"(Btudpredir $B$G$OL@<(E*$K%P%C%/%0%i%&%s%I$K2s$5$J$1$l$P$J$i$J$$(B
$B$H$$$&$3$H$G$9!#(B

$B!!0lHLE*$J(B tudpredir $B$N7A$O!'(B

    tudpredir [this_computer:]port [that_computer:]port



9.  $B:n6H$N<+F02=(B


$B!!$5$F!"$3$3$^$G$GA4$F$N%M%C%H%o!<%/%5!<%S%9$r(B TERM $B$rDL$7$FF@$kJ}K!$rCN$j$^(B
$B$7$?$N$G!"%j%s%/$,<+F0E*$K%;%C%H%"%C%W$5$l!"@_Dj$^$G$G$-$k$h$&$K$J$C$?$i$$$$(B
$B$G$9$M!#$=$N$h$&$JJ}K!$O$I$N%3%_%e%K%1!<%7%g%s%W%m%0%i%`$r;H$&$N$+!"$3$HMQ$K(B
$B%j%b!<%H%7%9%F%`$K%m%0%$%s$9$k$N$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B$K$J$i$C$F@_Dj$9$k$3$H$b$G$-$^$9$7!"(Bmake installnet $B$re!"$=$7$F(B libc.so.4.5.26 $B0J>e$r;H$C$F$$$kI,MW$,$"$j$^$9!#$=$N8e!"%G%#(B
$B%l%/%H%j(B '/lib' $B$K%U%!%$%k(B 'libt.so.4' $B$r:n$kI,MW$,$"$j$^$9(B($B%Q%C%1!<%8$N(B 
README $B%U%!%$%k$r8+$F$/$@$5$$(B)$B!#(B

$B!!$3$N;~E@$G$NLdBj$O!"(BTERM $B$N%P!<%8%g%s$r$"$2$k$4$H$K%U%!%$%k(B 'libt.so.4' $B$r(B
$B:n$jD>$5$J$/$F$O$J$i$J$$$H$$$&$3$H$G$9!#(B

$B!!%i%$%V%i%j$,$G$-$?$i!"$3$N$h$&$J%3%^%s%I$r;H$C$F!"(B TERM $BBP1~$K$7$?$$%W%m%0(B
$B%i%`$r(B termify $B$K?)$o$;$F$d$l$P$$$$$N$G$9!'(B


    termify <command name>


$B!!:G8e$K!"%Q%C%1!<%8$K$O(B 'smail' $B$r40A4$K(B termify $B$9$k%9%/%j%W%H$,F~$C$F$$$^(B
$B$9!(FCJL$JE>Aw$N@_Dj$OI,MW$"$j$^$;$s!#JQ99$7$J$1$l$P$J$i$J$$$N$O(B 'From:' $B%"%I(B
$B%l%9$/$i$$$G$7$g$&!#(B


11. Term $B%/%i%$%"%s%H(B


11.1  ftp $B%5%$%H$+$iF~l=j$O(B sunsite.unc.edu $B$G$"$k$H5-=R$7$?$i!"$=$l(B
$B$O0J2<$NFs$D$N%G%#%l%/%H%j$+$i8+$D$+$k$H$$$&0UL#$G$9!#(B

1. /pub/Linux/apps/comm/term/apps
2. /pub/Linux/apps/comm/term/extra

$B!!$G$O$$$C$F$_$^$7$g$&(B :-)

TERM $B%Q%C%1!<%8!'(B



       tupload
       tdownload           ($B%P!<%8%g%s(B 2.1.0 $B0J>e(B)
       trsh
       tmon
       tredir
       tudpredir           ($B%P!<%8%g%s(B 2.0.0 $B0J>e(B)
       txconn
       trdate(d)
       tshutdown
       libtermnet



$B%U%!%$%kE>Aw!'(B


       ftpd                sunsite.unc.edu
       termncftp           sunsite.unc.edu
       ncftp185            sunsite.unc.edu:/pub/Linux/system/Network/file-transfer
       fsp                 sunsite.unc.edu:/pub/Linux/system/Network/file-transfer



$B%$%s%U%)%a!<%7%g%s%7%9%F%`!'(B


       lynx
       Mosaic              sunsite.unc.edu:/pub/Linux/system/Network/info-systems/Mosaic
       chimera
       netscape            sunsite.unc.edu:/pub/Linux/system/Network/info-systems
       httpd
       xgopher
       gopher              sunsite.unc.edu


$B%j%b!<%H%m%0%$%s!'(B


       termtelnet          sunsite.unc.edu
       rlogin              physics.purdue.edu:/pub/bcr/term/extra
       rsh                 physics.purdue.edu:/pub/bcr/term/extra



$B%M%C%H%K%e!<%9!'(B


  tin 1.3             sunsite.unc.edu:/pub/Linux/system/Mail/news
  news2               sunsite.unc.edu



$B%a!<%k!'(B


       slurp               sunsite.unc.edu
       smail               sunsite.unc.edu
       term.mailerd+smail  sunsite.unc.edu
       BCRMailHandlerXXX   physics.purdue.edu:/pub/bcr/term



$B<+F02=%9%/%j%W%H!'(B


       JoelTermStuff       sunsite.unc.edu
       autoterm            sunsite.unc.edu
       fet                 sunsite.unc.edu



$B$=$NB>$N%W%m%0%i%`!'(B


       inetd               sunsite.unc.edu
       rdate               sunsite.unc.edu
       xgospel             sunsite.unc.edu:/pub/Linux/games/x11/networked
       termify             physics.purdue.edu:/pub/bcr/term/extra
       xboard              sunsite.unc.edu
       ircII               sunsite.unc.edu:/pub/Linux/system/Network/chat
       whois
       xwebster            sunsite.unc.edu
       sxpc                ftp.x.org:/R5contrib
       xztalk              sunsite.unc.edu:/pub/Linux/apps/sound/talk



11.2.  termnet $B%Q%C%1!<%8(B


$B!!(Btermnet-2.0.4-Linux-bin.tar.gz (sunsite.unc.edu:/pub/Linux/apps/comm/term) 
$B%Q%C%1!<%8$K$O$$$/$D$+$N%3%s%Q%$%k$5$l$?(B TERM $B%/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B
$B$^$;$s!W(B($B$^$?$O!"(Blocalhost:$B2?$H$+(B)$B!#(B$DISPLAY $BJQ?t$,%m!<%+%k%[%9%H$r;H$&$h$&$K(B
$B$J$C$F$$$k$H!"%/%i%$%"%s%H$OE,@Z$JG'>Z>pJs$r8+$D$1$k$3$H$,$G$-$J$/$J$j$^$9!#(B
$BK\Ev$N%[%9%HL>$r$D$1$F$d$l$P$h$$$N$G$9!#(BREADME $B$K=>$C$F%3%s%Q%$%k$9$k$J$i!"(B
-DNOGETHOSTNAME $B$J$7$G%3%s%Q%$%k$9$l$P$&$^$/$$$/$G$7$g$&!#(B

$B!!%/%i%$%"%s%H$rAv$i$=$&$H$9$k%^%7%s$r(B C $B$H!"$^$?I=<($7$?$$%^%7%s$r(B D $B$H$7$^(B
$B$9!#(B

$B!!:G=i$K!":GBg(B 16 $B$N(B 16 $B?J?t$N?t;z$NAH$r80$H$7$FA*$S$^$9(B(0-9 $B$H(B a-f $B$+$i$J$k(B
$B6v?t8D$N?t;z$H$$$&$3$H$K$J$j$^$9(B)$B!#$3$N80$r0J2<$NNc$K<($9(B <key> $B$N>l=j$KCV$+(B
$B$J$/$F$O$J$j$^$;$s!#(B


$B!!(BC $B$G!'(B


    % xauth
    xauth:  creating new authority file $HOME/.Xauthority
    Using authority file $HOME/.Xauthority
    xauth> add Chostname:8 MIT-MAGIC-COOKIE-1 <key>
    xauth> exit



  D $B$G!'(B


    % xauth
    xauth:  creating new authority file $HOME/.Xauthority
    Using authority file $HOME/.Xauthority
    xauth> add Dhostname/unix:0 MIT-MAGIC-COOKIE-1 <key>
    xauth> add Dhostname:0 MIT-MAGIC-COOKIE-1 <key>
    xauth> exit


$B!!(BD $B$G(B X $B%5!<%P$r%9%?!<%H$9$k$H$-$K!"%U%i%0(B -auth $HOME/.Xauthority $B$r$D$1$J(B
$B$1$l$P$J$j$^$;$s!#(BX $B%5!<%P$,$I$N$h$&$K%9%?!<%H$9$k$+!"(B'$HOME/xserverrc' $B$rJT(B
$B=8$"$k$$$O:n@.$9$kI,MW$,$"$j$^$9!#Nc$($P!'(B


    #!/bin/sh
    exec X  -auth $HOME/.Xauthority $*


$B!!(B'.Xauthority' $B%U%!%$%k$,(B C $B$K$*$$$F$b(B D $B$K$*$$$F$b$"$J$?$@$1$,FI$a$k$h$&$K(B
$B$7$F$*$$$F$/$@$5$$!#(B


13.  $B3P$($F$*$/$3$H(B


$B!!$3$N%;%/%7%g%s$G$O!"(BTERM $B$K$D$$$F$N%=%U%H%&%'%"$d>pJs$rF@$k$N$KLr$KN)$D(B ftp
$B%"%I%l%9$d(B URL $B$r=q$$$F$*$3$&$H;W$$$^$9!#(B

 Ftp:


  sunsite.unc.edu:/pub/Linux/apps/comm/term/<whole-directory-tree>
  sunsite.unc.edu:/pub/Linux/docs/HOWTO/<whole-directory-tree>
  physics.purdue.edu:/pub/bcr/term/<whole-directory-tree>



  URL:


  http://sunsite.unc.edu/mdw/HOWTO/Term-HOWTO.html
  http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html  ($B>o$K:G?7$N%P!<%8%g%s(B)
  http://physics.purdue.edu/~bcr/homepage.html



  Netnews:


  comp.os.linux.announce           $B?7$7$$(B TERM $B$N%P!<%8%g%s$H(B Term-HOWTO $B$N%"%J%&%s%9(B
  comp.os.linux.help               TERM $B$K$D$$$F$NpJs$rF~$l$k$h$&$K$7$F$/$@$5$$(B(TERM $B$N%P!<%8%g%sHV9f!"%3%M%/%7%g%s$N%;%C%H(B
$B%"%C%W$NJ}K!!"Ey(B)$B!#8=;~E@$GB?$/$N(B TERM $B$N%P!<%8%g%s$,;H$o$l$F$*$j$=$lFCM-$N!"(B
$B$^$?0lHLE*$JLdBj$bB8:_$7$^$9!#$=$N$?$a!"$b$7M-MQ$J2sEz$,$[$7$+$C$?$i!">/$J$/(B
$B$H$b(B TERM $B$N%P!<%8%g%s$O5-:\$9$Y$-$G$9!#$=$&$G$J$$$H!">l9g$K$h$C$F$OLdBj$r2r(B
$B7h$9$k$?$a$KBg$^$+$J?dB,$@$1$7$+F@$i$l$J$$$G$7$g$&!#(B


14.  TERM $B$N%P!<%8%g%s$H?.Mj@-(B


$B!!B?$/$N(B TERM $B$N%P!<%8%g%s$,B8:_$7$^$9!#(BTERM $B$r%a%s%F%J%s%9$7$F$$$k(B 
Bill Riemer $B$O!"$I$N%P!<%8%g%s$,0BDj$7$F$$$F$I$N%P!<%8%g%s$rHr$1$k$Y$-$+$H$$(B
$B$&%j%9%H$r:n$j$^$7$?!#$3$N%j%9%H$,0J2<$N$b$N$G$9!#(B


               term110          --> $B$J$s$H$b8@$($J$$(B
               term111          --> $B$J$s$H$b8@$($J$$(B
               term112          --> $B$J$s$H$b8@$($J$$(B
               term113          --> $B$J$s$H$b8@$($J$$(B
               term114          --> $B$=$3$=$30BDj$7$?&B%P!<%8%g%s(B
               term115          --> $BIT0BDj$J&B%P!<%8%g%s(B
               term116          --> $BIT0BDj$J&B%P!<%8%g%s(B
               term117          --> $BIT0BDj$J&B%P!<%8%g%s(B
               term118          --> $B$$$/$i$+0BDj$7$?&B%P!<%8%g%s(B
               term119          --> $B0BDj$7$?%,%s%^%P!<%8%g%s(B
               term-2.0.X       --> $B$$$/$i$+0BDj$7$?&B%P!<%8%g%s(B
               term-2.1.X       --> $B$5$i$K0BDj$7$?&B%P!<%8%g%s(B
               term-2.2.X       --> $B?7$7$$&B%P!<%8%g%s(B
               term-2.3.X       -->


15.  Term $B%9%T!<%II=(B


$B!!(BBill McCarthy $B$N$*$+$2$G!"0c$&%b%G%`!"(BTERM $B$N%P!<%8%g%s!"%3%M%/%7%g%s$N>uBV(B
$B$G$N(B TERM $B$N%9%T!<%II=$,$"$j$^$9!#$3$NL\E*$O!"?7$7$$!"$^$?7P83$r@Q$s$@%f!<%6(B
$B$KB>$N?M$?$A$,2?$r;H$C$F$$$k$N$+!"$^$?$I$N$h$&$J7k2L$rF@$F$$$k$N$+$rCN$i$;$k(B
$B$3$H$G$9!#(B


                             LINUX TERM $BI=(B 8/14/94


  |___modem speed/make___|___line speed__|__avg cps__|__high__|__term ver_|
  | 1)  USR SP 14.4      |   9600        |  950      |  963   | 1.17      |
  | 2)  USR SP 14.4      |  14400        | 1376      |  n/a   | 1.18p06   |
  | 3)  Zoom 2400        |   2400        |  220      |  230   | 1.19      |
  | 4)  Boca V.32bis 14  |  57600        | 1400      |  n/a   | 1.01/09?  |
  | 5)  Viva 14.4        |  14400        | 1300      |  n/a   | 1.16      |
  | 6)  USR SP 14.4      |  14400+       | 1550      | 1680   | 1.19      |
  | 7)  Intel 14.4 Fax   |  14400        | 1400      | 1650   | 2.0.4     |
  | 8)  cable tv hookup  |  57600        | 1500      | 1800   | 1.18p06   |
  | 9)  Twincom 144/DFi  |  57600        | 1500      | 4000?  | 2.0.4     |
  | 10) USR SP 14.4      |  14400        | 1200      | 1500   | 1.08      |
  | 11) cable tv hookup  |  19200        | 1300      | 1800   | 1.19      |
  |-----------------------------------------------------------------------|

  +$B%3%^%s%I%U%i%0$H!?(Btermrc $B@_Dj!'(B

  1) default escapes   2) window 5       3) baudrate 2400    4) n/a
     baudrate 9600        timeout 200       window 3
     window 10                              noise on
     timeout 150

  5) compress off      6) baudrate 19200  7) ignore 19+17    8) compress off
     window 10            compress on        window 4           escape 0, 13,
     timeout 150                             timeout 90         16-19, 255
     baudrate 38400                                             baudrate 0
                                                                shift 224
                                                                flowcrtl 500
                                                                window 10
                                                                timeout 70
                                                                retrain on
                                                                breakout 24
  9) compress off     10) compress off      11) baudrate 19200
     baudrate 57600       baudrate 38400        compress on
     window 10            escape 17, 19         shift 224
     timeout 200          remote                escape 0, 13 16-17
     noise on                                   19, 255
     share on                                   window 10
     remote                                     timeout 40


$B!!JRJ}$G%(%9%1!<%W$7$?%-%c%i%/%?$O$b$&0lJ}$GL5;k$7$F$$$k$3$H$r0UL#$7$F$$$^$9!#(B


16.  $B%M%C%H>e$G8+$D$+$k%R%s%H$H%H%j%C%/(B


$B!!(BLinux $B4XO"$N%K%e!<%9%0%k!<%W$G$O!"Kh=5(B TERM $B$K4X$9$kB?$/$N.$5$J%7%'%k%9%/%j%W%H$G3NG'$G$-$^$9!'(B

$B!!(Btcsh $B$r;H$C$F$$$k$J$i!'(B

    if ( { trsh -s true } ) then
      ...
    endif


$B!!(Bbash $B$r;H$C$F$$$k$J$i(B

$B!!(B  if trsh -s true; then
      ...
    fi


o WWW $B%V%i%&%6(B Netscape $B$r(B TERM $B$H6&$KF0$+$9$3$H$GLdBj$,5/$-$F$$$k$h$&$G$9!#(B
$B$$$$%K%e!<%9$O!"$3$l$O(B TERM $B$N$b$H$GF0$/$H$$$&$3$H$G$9!#$I$N$h$&$K$9$k$+$O!'(B

    1. Netscape $B$r(B termify $B$9$k(B
    2. termnetscape $B$r5/F0$9$k(B
        Options | Preferences | Mail/Proxies $B0J2<$N!VA4$F$N!W%W%m%/%7!<%\%C%/(B
      $B%9$r6uGr$K$9$k(B
$B!!!!!!!!(BSOCKS $B$N%\%C%/%9$r(B 'remotehost' & 80 $B$K%;%C%H$9$k!#(B
    3. Options $B%a%K%e!<$+$i=P$k$H$-$N%(%i!<$rL5;k$9$k!#(B
    4. termnetscape $B$,@5$7$/F0$+$J$+$C$?$i!'(B
        Options | Preferences | Mail/Proxies $B0J2<$N!VA4$F$N!W%W%m%/%7!<%\%C%/(B
      $B%9$r6uGr$K$9$k(B
$B!!!!!!!!(BSOCKS $B$N%\%C%/%9$r(B 'none' & 80 $B$K%;%C%H$9$k!#(B
    5. Options $B%a%K%e!<$+$i=P$k$H$-$N%(%i!<$rL5;k$9$k!#(B


$B!!(BScott Blachowicz $B$O(B TERM $B%j%s%/$N%j%b!<%HB&$K%W%m%/%7!<%5!<%P(B($BNc$($P!"(BCERN 
$B$N(B httpd)$B$,%$%s%9%H!<%k$5$l$F$$$l$P(B Netscape $B$d$=$NB>$N%V%i%&%6$r(B TERM $B$H6&$K(B
$BF0$+$9$N$O$+$J$j4JC1$@$H%a!<%k$7$F$/$l$^$7$?!#%m!<%+%kB&$G$O!"$3$N$h$&$K$7$^(B
$B$9!'(B



    1. tredir localhost:8080 remotehost:80
$B!!!!!!$3$3$G!"(B 'remotehost' $B$O%W%m%/%7!<%5!<%P%7%9%F%`$N%[%9%HL>$G$9!#(B

    2. $B%V%i%&%6$r5/F0$7!"(Bpreferences $B$d(B options $B$d$=$&$$$C$?$b$N$NCf$G(B 
     'localhost' $B$N%]!<%H(B 8080 $BHV$r%W%m%/%7!<$K%;%C%H$9$k!#(B
$B!!!!!!!!$$$/$D$+$N%V%i%&%6$G$O!"$3$N$h$&$K4D6-JQ?t$r%;%C%H$7$^$9!#(B
            export http_proxy=http://localhost:8080/
            export ftp_proxy=http://localhost:8080/



17. $B$=$NB>$N$3$H(B

$B!!$$$/$D$+$N$3$H$rF~$l$?$$$H;W$C$F$$$^$9!#(B

o $B%H%i%V%k%7%e!<%F%#%s%0$N3HD%(B

o $B%;%-%e%j%F%#$NO@E@$N3HD%(B

o Termwrap

o $BDs0F(B

$B!!$b$7Ds0F!"HcI>!"$3$NJ8=q$K4X$9$k2?$+B>$K$"$l$P!"$I$N$h$&$J7A$G$b7k9=$G$9$N(B
$B$G=P$7$F$/$@$5$$!#:#$O!";d(B Patrick Reijnen $B$,(B TERM-HOWTO $B$N86:nZ(B]$B;d$O$3$NK]Lu$,@5$7$$$3$H$rJ]>Z$7$^$;$s!#I,MW$J$i$P(B Term $B$N%^%K%e(B
             $B%"%k$d$3$NJ8=q$N86J8$rFI$`$J$I$7$F2<$5$$!#(B

  2. [$B

$B