From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Oct 29 02:22:33 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id CAA21968;
	Thu, 29 Oct 1998 02:22:33 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from vifam.futatuki.fureai.or.jp (ka-usr069.fureai.or.jp [203.179.2.69])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id CAA21906
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 29 Oct 1998 02:22:23 +0900 (JST)
	(envelope-from futatuki@fureai.or.jp)
Received: (from futatuki@localhost)
	by vifam.futatuki.fureai.or.jp (8.8.8/8.8.8) id CAA00756;
	Thu, 29 Oct 1998 02:22:36 +0900 (JST)
	(envelope-from futatuki)
Date: Thu, 29 Oct 1998 02:22:36 +0900 (JST)
Message-Id: <199810281722.CAA00756.vifam@futatuki.fureai.or.jp>
To: FreeBSD-users-jp@jp.freebsd.org
In-Reply-To: Your message of "Wed, 28 Oct 1998 23:46:10 JST".
	<19981028234610G.issei@issei.org>
From: futatuki@fureai.or.jp (Yasuhito FUTATSUKI)
X-Mailer: mnews [version 1.21] 1997-12/23(Tue)
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: FreeBSD-users-jp 34595
Subject: [FreeBSD-users-jp 34595] Re: tcsh startup file (Re: kterm)
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

  $B$U$?$D$-$G$9!#(B

<19981028234610G.issei@issei.org>$B$N5-;v$K$*$$$F!D!D(B
> $BNkLZ0l@8$G$9!#(B
 
> > $B$H$3$m$G$C!"(Btcsh $B$N>l9g$N$_$N@_Dj$O$I$3$K=q$1$PNI$$$s$G$7$?$C$1(B ?
> 
>   tcsh (1) $B$K=q$$$F$"$j$^$9$,(B ~/.tcshrc $B$,$"$l$P(B ~/.cshrc $B$NBe$o$j$K$=(B
> $B$A$i$r;H$$$^$9!#(B

  $B$H$$$&$3$H$G!"(Btcsh $B$,$J$$4D6-$G$b6&DL$N(B .cshrc $B$r;H$$$^$o$9(B
$B$?$a$K(B $HOME/.cshrc $B$H(B $HOME/.tcshrc $B$r$3$s$J46$8$G=q$$$F(B
login shell $B$r(B /bin/csh $B$K$7$F$^$9!#(B


.tcshrc $B$NNc!#:G8e$N9T$,%_%=!#(B

BEGIN --- cut here --- cut here --- cut here --- cut here ---

bindkey -v
unset autologout
setdspkanji euc
set color

# get host name
if ( -x /usr/bin/uname ) then
  switch (`/usr/bin/uname`)
  case FreeBSD:
    setenv HOST `hostname -s` 
    breaksw
  case SunOS:
    setenv HOST `hostname`
    breaksw
  endsw
else
  setenv HOST `hostname`
endif
source ~/.cshrc

END   --- cut here --- cut here --- cut here --- cut here ---


  .cshrc $B$NNc!#7k9=$G$+$$$N$GKAF,It$H:G8e$NJ}$@$1!#(B

  $B:G=i$N$H$3$m$G%$%s%?%i%/%F%#%V$+$D(B tcsh $B$G$J$/$F!"$5$i$K(B
tcsh $B$,%$%s%9%H!<%k$5$l$F$k>l9g$K$O$=$C$A$r;H$&$h$&$K$7$F$^$9!#(B

BEGIN --- cut here --- cut here --- cut here --- cut here ---

if ( ${?prompt} && !(${?tcsh}) ) then
  if ( -x /usr/local/bin/tcsh ) then
    exec /usr/local/bin/tcsh
  endif
endif

umask 022
set history=100
set ignoreeof
set filec
set noclobber
set nonomatch
#set savehist=20

                :
                :

if (${?prompt}) then
#        biff y
        set prompt=`whoami`@$HOST"[\!] " 
        stty erase ^H kill ^U
endif

alias l '\ls'
alias ll 'ls -lF'
alias la 'ls -alF'
alias ls 'ls -F'

END   --- cut here --- cut here --- cut here --- cut here ---

#  $B>JN,$7$?ItJ,$C$F$N$O(B case $BJ8$H(B if $BJ8$N$*2=$1$G$9(B :-)

 ---
$BFsLZLw?N!J$U$?$D$-$d$9$R$H!K(B <futatuki@fureai.or.jp>
