From owner-man-jp-reviewer@jp.freebsd.org  Fri Nov 24 08:47:52 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id IAA27328;
	Fri, 24 Nov 2000 08:47:52 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from smtp1.interramp.com (smtp1.interramp.com [38.8.45.2])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id IAA27323
	for <man-jp-reviewer@jp.freebsd.org>; Fri, 24 Nov 2000 08:47:50 +0900 (JST)
	(envelope-from horikawa@psinet.com)
Received: from [38.26.194.147] (helo=localhost)
	by smtp1.interramp.com with esmtp (Exim 1.90 #1)
	for man-jp-reviewer@jp.freebsd.org
	id 13z65e-0003jv-00; Thu, 23 Nov 2000 18:47:42 -0500
To: man-jp-reviewer@jp.freebsd.org
In-Reply-To: <200011221842.eAMIgPj72505@oasis.sharplabs.com>
References: <3A1C03B9.50E7B2DB@catv1.ccn-net.ne.jp>
	<200011221842.eAMIgPj72505@oasis.sharplabs.com>
X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20001123184721U.horikawa@psinet.com>
Date: Thu, 23 Nov 2000 18:47:21 -0500
From: Kazuo Horikawa <horikawa@psinet.com>
X-Dispatcher: imput version 20000228(IM140)
Lines: 199
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp-reviewer 3156
Subject: [man-jp-reviewer 3156] Re: [tcsh.1]Please check comments.
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: horikawa@psinet.com

 $BKY@n$G$9!#(B
 $B8D!9$N%^%K%e%"%k$N%l%S%e!<$H$$$&0u>]$G$"$j!"(Breviewer $B$NJ}$,E,Ev$H9M$(!"(B
$B$=$C$A$K?6$j$^$9!#(B

> In Message <3A1C03B9.50E7B2DB@catv1.ccn-net.ne.jp>,
>   OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp> writes:
> > tcsh.1 $B$b$:$$$V$sBN:[$,@0$C$F$-$^$7$?!#(B
> > $B:#8e$OFbMF$N6cL#$rB3$1$F$$$/$3$H$K$o$1$G$9$,!"$^$:!"Lu<T!"%A%'%C%/<T$N(B
> > $B%3%a%s%H$,;D$C$F$$$k$H$3$m$r$d$C$D$1$^$7$g$&!#(B
 $B@hF346<U$7$^$9!#(B
 $B8D?ME*$K$O(B (t)csh $B$O;H$o$J$$$N$G!"K]Lu;~$K$O$"$^$jF05!$,;}$F$^$;$s$G(B
$B$7$?$,!"%A%'%C%/$K$O<c436(NO$G$-$=$&$G$9!#(B

> > (3)
> > $B1Q8l86J8!'(BLine 508 - 514
> > $\fIname\fR[\fIselector\fR]
> > .TP 8
> > ${\fIname\fR[\fIselector\fR]}
> > Substitutes only the selected words from the value of \fIname\fR.
> > The \fIselector\fR is subjected to `$' substitution and may consist of
> > a single number or two numbers separated by a `\-'.
> > The first word of a variable's value is numbered `1'.
> > If the first number of a range is omitted it defaults to `1'.
> > If the last member of a range is omitted it defaults to `$#\fIname\fR'.
> > The \fIselector\fR `*' selects all words.
> > It is not an error for a range to be empty if the
> > second argument is omitted or in range.
> > 
> > 
> > $BOBLu(B (rev1.5)$B!'(BLine 978
> > $\fIname\fR[\fIselector\fR]
> > .TP 8
> > ${\fIname\fR[\fIselector\fR]}
> > .\"kageyama:may consist of... "$B9=@.$G$-$k(B"$B!)(B
> > \fIname\fR $B$NCM$N$&$AA*Br$7$?C18l$N$_$GCV49$7$^$9!#(B\fIselector\fR $B$O(B
> > `$' $BCV49$,E,MQ$5$l!"(B1 $B$D$N?t$^$?$O(B `\-' $B$G6h@Z$C$?(B 2 $B$D$N?t$G(B
> > $B9=@.$9$k$3$H$,$G$-$^$9!#JQ?t$NCM$N@hF,$NC18l$O(B 1 $BHVL\$H$7$F?t$($^$9!#(B
> > $BHO0O$N:G=i$NCM$r>JN,$7$?>l9g!"%G%U%)%k%H$NCM(B 1 $B$K$J$j$^$9!#HO0O$N(B
> > $B:G8e$NCM$r>JN,$7$?>l9g!"%G%U%)%k%H$NCM(B `$#\fIname\fR $B$K$J$j$^$9!#(B
> > \fIselector\fR `*' $B$O$9$Y$F$NC18l$rA*Br$7$^$9!#(B2 $BHVL\$N0z?t$,(B
> > $B>JN,$5$l$k$+!"$"$k$$$OHO0O$K<}$^$C$F$$$k>l9g!"HO0O$,6u$K$J$C$F$b(B
> > $B%(%i!<$K$J$j$^$;$s!#(B
> > 
> > # may consist of ... $B$O!V9=@.$G$-$k!W$G$$$$$H;W$$$^$9$,!"(B
> > # a single number , two numbers $B$O!V?t!W$h$j!V?tCM!W$"$k$$$O!V?t;z!W$NJ}$,(B
> > # $B$o$+$j$d$9$$$N$G$O!)(B
> 
> $B!V?t;z!W$+$J!#(B

 $BNc$($P(B 123 ($BI4Fs==;0(B) $B$O!"(B1 $B8D$N!V?t;z!W$J$N$G$7$g$&$+!)(B 3 $B8D$N!V?t;z!W(B
$B$J$N$G$7$g$&$+!)(B (10 $B?J?t$G(B) 3 $BJ8;z$N?tCM$G$"$C$F!"(B1 $BJ8;z$N!V?tCM!W$G(B
$B$O$J$$$3$H$O3N$+$@$H9M$($^$9$,!"!V?t;z!W$HI=8=$9$k$HJ,$+$j$K$/$$$H9M$((B
$B$^$9!#(B
 selector $B$O(B 2 $B7e0J>e$N?tCM$r;XDj2DG=$G$9$+$i!"!V?tCM!W$G$"$kJ}$,FI2r(B
$B;~$N[#Kf$5$,8:$k$H9M$($^$9!#(B
 $B8D?ME*$J9%$_$H$7$F$O!"?tCM(B = $B?t(B > $B?t;z(B

> > (9)
> > $B1Q8l86J8!'(BLine 1411 - 1412
> > Now for some examples.  Some commands take only directories as arguments,
> > so there's no point completing plain files.
> > 
> > $BOBLu(B (rev1.5)$B!'(BLine 2744 - 2747
> > $B$G$O$$$/$D$+Nc$r<($7$^$9!#(B
> > $B%G%#%l%/%H%j$N$_$r0z?t$K$H$k$h$&$J%3%^%s%I$b$"$k$N$G!"(B
> > .\"nakano there's no point?
> > $BIaDL$N%U%!%$%k$rJd40$9$k$h$&$JNc$O=P$7$^$;$s!#(B

 no point = pointless $B$H$$$&$3$H$G$7$g$&!#!VL50UL#!W!V0UL#$,$J$$!W!VE*(B
$B30$l!W$J$I!#(B

	$B%3%^%s%I$K$h$C$F$O!"%G%#%l%/%H%j$N$_$r0z?t$H$7$F<h$k$b$N$,$"$j(B
	$B$^$9!#(B($B$=$N$h$&$J%3%^%s%I$KBP$7$F(B) $BDL>o%U%!%$%k$rJd40$9$k$3$H$O!"(B
	$BE*30$l$G$9!#(B

# $B3g8LFb$N8@MU$OE,Ev$K3g8L$+$i=P$9$J$I$7$F$$$?$@$-$?$/(B

 tcsh(1) $B$G$O!"$3$NJ8$N8e$K(B
                   > complete cd 'p/1/d/'
$B$,B3$$$F$$$^$9!#(B

 $B86J8$KBP$9$k46A[$G$9$,!"L\E*(B (cd $B%3%^%s%I$KBP$7$F$O!"%G%#%l%/%H%j$N$_(B
$B$rJd40$9$k$h$&$K$7$F!"DL>o%U%!%$%k$OJd40$7$J$$$h$&$K$9$kEy(B) $B$r5-=R$9$Y(B
$B$-$H$3$m$,!"$"$^$jL\E*$N$h$&$KFI$a$J$$J8(B ($BCm<aE*$JFbMF$,=q$$$F$"$k(B) $B$H(B
$B$$$&0u>]$r<u$1$^$7$?!#(B

> > (10)
> > $B1Q8l86J8!'(BLine 2414 - 2417
> > > complete cd 'p/1/d/'
> > .PP
> > completes only the first word following `cd' (`p/1') with a directory.
> > \fBp\fR-type completion can also be used to narrow down command completion:
> > 
> > $BOBLu(B (rev1.5)$B!'(BLine 2749 - 2754
> > > complete cd 'p/1/d/'
> > .PP
> > `cd' $B$KB3$/:G=i$NC18l$N$_(B (`p/1') $B$r%G%#%l%/%H%j$GJd40$7$^$9!#(B
> > $B%3%^%s%IJd40$r9J$j$3$`$?$a$K(B \fBp\fR-$B7A<0$NJd40$r(B
> > .\"nakano ($B$$$C$7$g$K(B?)
> > $BMQ$$$k$3$H$b$G$-$^$9!#(B
> 
> $B!V$$$C$7$g$K(B?$B!W$O(B also $B$r<u$1$F$N$3$H$G$9$h$M!#(B
> $B!V$$$C$7$g$K!W$O$J$/$F$b$$$$$s$8$c$J$$$+$J!#(B
> $B$D$^$j86J8DL$j$G9=$o$J$$$H!#(B
> 
> $B$3$NJ8$N:G8e$,%3%m%s$G=*$o$C$F$$$k$H8@$&$3$H$O!"$3$NJ8$O<!$NNc$N@bL@$+(B
> $B$b$M!#$H$9$k$H!"!V(B($B0z?t$@$1$G$J$/(B)$B%3%^%s%IJd40$K$b(B p-$B7A<0$NJd40$rMQ$$$k(B
> $B$3$H$,$G$-$^$9!W$N(B also $B$8$c$J$$$+!)(B

 also $B$O!"(B($B%G%#%l%/%H%j$N$_Jd402DG=$N(B)$B!V(Bd$B!W$@$1$G$O$J$/!"(B($BBh(B 1 $B0z?t$N(B
$B$_$rBP>]$H$9$k(B) p/1/ $B!V$b!W;XDj2DG=$H$$$&$3$H$r0U?^$7$F$$$k$b$N$HM}2r(B
$B$7$^$7$?!#(B

> $B86J8$N$3$ND>8e$K$=$&$$$&46$8$NNc$,:\$C$F$J$$!)(B
 tcsh(1) $B$G$O!"<!$N$h$&$K!"$*$b$`$m$K(B compress $B$rJd40$9$kNc$KOC$,?J$_(B
$B$^$9!#(B

               $B$G$O$$$/$D$+Nc$r<($7$^$9!#%G%#%l%/%H%j$N$_$r0z?t$K(B
               $B$H$k$h$&$J%3%^%s%I$b$"$k$N$G!"IaDL$N%U%!%$%k$rJd40(B
               $B$9$k$h$&$JNc$O=P$7$^$;$s!#(B

                   > complete cd 'p/1/d/'

               `cd' $B$KB3$/:G=i$NC18l$N$_(B (`p/1') $B$r%G%#%l%/%H%j$G(B
               $BJd(B $B40$7$^$9!#%3%^%s%IJd40$r9J$j$3$`$?$a$K(B p-$B7A<0$N(B
               $BJd40$rMQ$$$k$3$H$b$G$-$^$9!#(B

                   > co[^D]
                   complete compress
                   > complete -co* 'p/0/(compress)/'
                   > co[^D]
                   > compress

               $B$3$l$O(B `co' $B$G;O$^$k(B ($B$9$J$o$A(B `co*' $B$K%^%C%A$9$k(B)
               $B%3(B $B%^(B $B%s(B $B%I(B ($B0LCV(B 0 $B$K$"$kC18l(B `p/0') $B$rJd40$7$F!"(B

> > $B$3$N%U%!%$%k$O!"0JA0$K(B \fB\-S\fR $B%*%W%7%g%s$d(B
> > \fBsavedirs\fR $B5!9=$GJ]B8$5$l$?%G%#%l%/%H%j%9%?%C%/$G$9!#(B
> > $B$$$:$l$N>l9g$G$b!"(B \fIfilename\fR $B$,M?$($i$l$J$1$l$P(B
> > \fBdirsfile\fR $B$rMQ$$$^$9!#(B
> > \fBdirsfile\fR $B$b;XDj$5$l$F$$$J$1$l$P(B \fI~/.cshdirs\fR $B$rMQ$$$^$9!#(B
> > .PP
> > $B%m%0%$%s%7%'%k$O(B `dirs \-L' $B$HF1MM$N$3$H$r5/F0;~$K9T$C$F$*$j!"(B
> > $B$^$?(B \fBsavedirs\fR $B$,@_Dj$5$l$F$$$l$P=*N;A0$K(B
> > `dirs \-S' $B$HF1MM$N$3$H$r9T$$$^$9!#(B
> > $BDL>o(B \fI~/.tcshrc\fR $B$@$1$,(B \fI~/.cshdirs\fR $B$NA0$K(B source $B$5$l$k$N$G!"(B
> > \fBdirsfile\fR $B$O(B \fI~/.login\fR $B$G$O$J$/(B
> > \fI~/.tcshrc\fR $B$G@_Dj$9$Y$-$G$9!#(B
> > .\"nakano $B0UL#<h$l$F$$$^$;$s!#(B
> 
> Startup and shutdown $B$N$H$3$m$K$O!"(B
>   .tcshrc $B$,$"$l$P$=$l$rFI$`!#(B
>   $B$J$1$l$P!"(B.cshrc, .history, .login, .cshdirs $B$rFI$`!#(B
> $B$H$"$k$h$&$K$bFI$a$k!#$=$l$r8+$D$D$3$NItJ,$N86J8$r8+$k$H!"(B
>   .tcshrc $B$,$"$k$H$3$l$@$1FI$s$G(B .login $BFI$^$J$$$N$G!"(B
>   .login $B$KF~$l$k$s$8$c$J$/(B
>   $B$F!"(B.tcshrc $B$K(B dirsfile $B$N@_Dj$rF~$l$H$+$s$H$"$+$s$h(B
> $B$H8@$C$F$k$s$8$c$J$$$+$J!#(B
> 
> .tcshrc $B$,$"$k$H(B .login $B$rFI$_9~$^$J$/$J$k$+$I$&$+!"<B83$7$F(B
> $B3NG'$7$F$_$F$/$l$^$;$s$+!#(B

  $BBh(B 2 $BJ8$O!"(Blogin shell $B$K8BDj$7$J$$$H2r<a$7$?J}$,NI$$$h$&$J5$$,$7$^(B
$B$9!#(B

               Note  that login shells do the equivalent of `his-
               tory -L' on startup and, if savehist is set, `his-
               tory  -S'  before exiting.  Because only ~/.tcshrc
               is normally sourced  before  ~/.history,  histfile
               should be set in ~/.tcshrc rather than ~/.login.

> > (17)
> > $B1Q8l86J8!'(BLine 2790 - 2796
> > Note that login shells do the equivalent of `history \-L' on startup
> > and, if \fBsavehist\fR is set, `history \-S' before exiting.
> > Because only \fI~/.tcshrc\fR is normally sourced before \fI~/.history\fR,
> > \fBhistfile\fR should be set in \fI~/.tcshrc\fR rather than \fI~/.login\fR.
> > .PP
> > If \fBhistlit\fR is set, the first and second forms print and save the literal
> > (unexpanded) form of the history list.
> > 
> > $BOBLu(B (rev1.5)$B!'(BLine 3172 - 3182
> > $B%m%0%$%s%7%'%k$O(B `history \-L' $B$HF1MM$N$3$H$r5/F0;~$K9T$C$F$*$j!"(B
> > $B$^$?(B \fBsavehist\fR $B$,@_Dj$5$l$F$$$l$P=*N;A0$K(B
> > `history \-S' $B$HF1MM$N$3$H$r9T$$$^$9!#(B
> > $BDL>o(B \fI~/.tcshrc\fR $B$@$1$,(B \fI~/.history\fR $B$NA0$K(B source $B$5$l$k$N$G!"(B
> > \fBhistfile\fR $B$O(B \fI~/.login\fR $B$G$O$J$/(B
> > \fI~/.tcshrc\fR $B$G@_Dj$9$Y$-$G$9!#(B
> > .\"nakano $B0UL#<h$l$F$$$^$;$s!#(B
> 
> dirsfile $B$N$H$3$m$HF1$8$+$J!#(B
> 
> $B$?$@!"=gHV$+$i$9$k$H(B .login $B$O(B .history $B$N$"$H$@$+$i!"(B.tcshrc $B$,$"$m$&(B
> $B$,$J$+$m$&$,(B .login $B$G@_Dj$7$F$?$iCY2a$.$J$N$G$O$J$$$+$J$!!#(B
> $B$&!<$s!"$3$386J8$,ITE,@Z$8$c$J$$$+$J!#(B
 $B86J8ITE,@Z$H$$$&5$$b$7$^$9$,!"Bh(B 2 $BJ8$O!"(Blogin shell $B$K8BDj$7$J$$$H(B
$B2r<a$7$?J}$,NI$$$h$&$J5$$,$7$^$9!#(B
--
$BKY@nOBM:(B
