CnUnix

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ CnUnix ] in KIDS
글 쓴 이(By): tkhong (꿈나무)
날 짜 (Date): 1995년09월18일(월) 14시17분04초 KDT
제 목(Title): [A] Xterm Title에서 `pwd`


 일단 아래와 같은 script file을 만드시고,...

#!/bin/csh
#
#       Change the name of an xterminal
#
#       Usage: ch <newtitle>
#


if( $term != xterm ) then
        echo $0\: Error\: You are not in xterm\.
else 
#if( $# != 2 ) then
        #echo Usage\: $0 \<new title\>
#else
        echo -n 
endif



 file 이름을 ch 라 하신다면...

 .cshrc file을  다음 다음과 같이 수정 하시면 됩니다...

 alias       cd      '원래내용들..; ch `pwd`'






















 
       _____=_      /\======\     //L\======\    //== \======\    |_||_|TKHONG|
otkhong@kids turing@nownurihttp://jinjoo.kaist.ac.kr/student/tkhong/
^^^^^^^^^^^^^^^^^
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.