Date: Fri, 28 Jan 2000 11:41:27 +0900
From: Dong Chul Im <eastiron@pepsi.kaist.ac.kr>
To: cjh@kr.freebsd.org
Subject: ѱ Netscape ؼ.
Message-ID: <20000128114127.A27282@pepsi.kaist.ac.kr>

--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=euc-kr
Content-Transfer-Encoding: 8bit

ȳϼ. ȣ  ѱ ݽ  ϴ Դϴ.

     ϸ ϰ ֽϴ.

ٸ ̷   ؼ ̷  帳ϴ.

Ͻô ѱ ݽ  X resource ýʿ  Ǿ

ִµ (/usr/lib/X11/app-defaults/...) admin忡  

ʾ Դϴ.

̷  ذ  ϴٰ Digital Unix  

 ϸ  ý ǵ帮 ʾƵ   ִٴ 

˰ Ǿϴ.

  /usr/local/stow/.netscape470̶ 丮 netscape 4.70

ҽϴ. (stow ̿ Ű  α׷ ̿ϱ  Ϻη

  丮  Դϴ. Ǽ ߸   ƴմϴ.)

׸ /usr/local/stow/.netscape470/locale̶ 丮 

/usr/local/stow/.netscape470/locale/C/app-defaults  Netscape resouce

(Netscape.ad Netscape̶ ̸ ġ߰) 

/usr/local/stow/.netscape470/locale/ko_KR/app-defaults ȣ  

ѱ Netscape resource /usr/local/stow/.netscape470/locale/ko_KR/netscape

̶ 丮 about, licence, mail.msg  ȭϵ ġ ߽ϴ.

׸  netscape ȭϵ real-netscape̶ ̸ ٲپ 

/usr/bin/X11/netscape̶ ũƮ ȭ    ־ϴ.

-->> [ /usr/bin/X11/netscape ũƮ ]

#!/bin/sh

set -e

PREFIX=/usr/local/stow
MOZILLA_HOME=$PREFIX/.netscape470
NLBDIR=/usr/lib/netscape
INSTDIR=$HOME/.netscape
JAVADIR=$MOZILLA_HOME/java-compaq                # compaq java file
ACRBATDIR=$PREFIX/.acrobat4/Browsers/alphaosf    # acrobat plugins
REAL_NETSCAPE=$MOZILLA_HOME/real-netscape

if [ ! -e $INSTDIR ]; then
	mkdir $INSTDIR
	chmod 700 $INSTDIR
fi

if [ ! -e $INSTDIR/java ]; then
	ln -s $JAVADIR $INSTDIR/java
fi

if [ ! -e $INSTDIR/plugins ]; then
	mkdir -p $INSTDIR/plugins
	chmod 700 $INSTDIR/plugins
fi

NPX_PLUGIN_PATH=$INSTDIR/plugins:$MOZILLA_HOME/plugins:$ACRBATDIR
XUSERFILESEARCHPATH=$MOZILLA_HOME/locale/%L/%T/%N:$INSTDIR/%N
XFILESEARCHPATH=$XUSERFILESEARCHPATH:$XFILESEARCHPATH
LD_LIBRARY_PATH=$NLBDIR:$LD_LIBRARY_PATH

export MOZILLA_HOME
export NPX_PLUGIN_PATH
export XUSERFILESEARCHPATH
export XFILESEARCHPATH

exec $REAL_NETSCAPE -name netscape -no-about-splash \
  -xrm '*nsMotifFSBCdeMode: True'\
  -xrm '*rot13Message.documentationString: Unscramble ROT13 encoded message' $*

# End

-- << [End of /usr/bin/X11/netscape]

̷  ϸ ýʿ  X resourceȭϵ ǵ帮 ʰ   

 Ŷ  ϴ.

 ϷǼ.


p.s.  ȣ ѱ ݽ   install̶ ȭ  

 ӽ÷ ٲپ installϰ մϴ. 

-- 
<>  Profile <>
 ---------------------------------------------------
 * [ ڸ ]   ӵö<eastiron@pepsi.kaist.ac.kr> 
 * [     ȭ ]   042-869-2864              [TPCLAB]  
 ---------------------------------------------------

--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=install

#!/bin/sh

#
#
echo ""
echo "=================================================================="
echo ""
echo "            Communicator 4.7[ko] Korean Install"
echo ""
echo "                      ( Super User Only )"
echo "       Copyright (c) 1999 by Netscape Communications Corp."
echo "       Localization kit by CHOI, Junho <cjh@kr.freebsd.org>."
echo ""
echo "=================================================================="
echo ""
echo ""

NETHELP=nethelp-v451.nif
PREFIX="/usr/local/stow/Netscape470"

case `uname` in
HP-UX)
    INSTLANG="ko_KR.eucKR";
	;;
IRIX)
    INSTLANG="ko_KR.eucKR";
	;;
OSF1)
    INSTLANG="ko_KR";
	;;
SunOS)
    INSTLANG="ko";
	;;
FreeBSD|*)
    INSTLANG=${LANG};
	;;
esac

ADLOC="${PREFIX}/locale/${INSTLANG}/app-defaults";
CFGLOC="${PREFIX}/locale/${INSTLANG}/app-defaults";
MISCLOC="${PREFIX}/locale/${INSTLANG}/netscape";
echo "Following settings are right for your system?"
echo "If right, type any key to go on."
echo "If not, exit with Ctrl-C and modify this install script to fit your system."
echo ""
echo "	ADLOC   = $ADLOC"
echo "	CFGLOC  = $CFGLOC"
echo "	MISCLOC = $MISCLOC"

read dummy

#
# See if we have to use the lame SYS-V echo command flags.
#
if test "`/bin/echo 'blah\c'`" = "blah\c"
then
        EFLAG="-n"
        ENDER=""
else
        EFLAG=""
        ENDER="\c"
fi
ECHO="/bin/echo ${EFLAG}"
#
# Checking to see if script has been run as root
#
touch /tmp/foo.$$
OWNER="`ls -l /tmp/foo.$$ | awk '{print $3}'`"
rm -f /tmp/foo.$$
if test ! "${OWNER}" = "root"
then
   if test ! "`who am i|awk '{print $1}'`" = "root" 
   then
      if test ! "`whoami`" = "root" 
      then
         if test ! ${USER} = "root" 
         then 
            if test ! ${LOGNAME} = "root" 
            then
               ${ECHO} "Sorry, you need to be root (super user) to run this script."
               exit 0
            fi
         fi
      fi
   fi
fi
GZIP="gzip"
flag=1
while test ${flag} -eq 1
do
        ${GZIP} -h >/dev/null 2>&1
        if test $? -ne 0
        then
                echo ""
                echo "Unable to locate 'gzip' in your path.  Please provide the
fully-qualified"
                echo "directory in which it can be found."
                echo ""
                ${ECHO} "Directory containing the 'gzip' binary: ${ENDER}"
                read GZIP_DIR
                GZIP="${GZIP_DIR}/gzip"
        else
                flag=0
        fi
done                            


if test ! -d ${ADLOC}
   then
      mkdir -p ${ADLOC}
fi
sed "s#^\*appDir:.*#*appDir: ${MISCLOC}#" Netscape.ad-ko > ${ADLOC}/Netscape
if test ! -d ${CFGLOC}
   then
      mkdir -p ${CFGLOC}
fi
cp  netscape.cfg ${CFGLOC}/netscape.cfg
if test ! -d ${MISCLOC}
   then
      mkdir -p ${MISCLOC}
fi
cp  about plugins splash license mail.msg ${MISCLOC}

# Try and find where the English version was installed.
#
# If MOZILLA_HOME is set, assume that's the place
#
if test ! -z "${MOZILLA_HOME}" -a -d ${MOZILLA_HOME}/nethelp
then
	INSTALL_DIR="${MOZILLA_HOME}"
else
	if test -d /opt/netscape/nethelp
	then
	    INSTALL_DIR="/opt/netscape"
	fi
	if test -d /usr/local/netscape/nethelp
	then
	    INSTALL_DIR="/usr/local/netscape"
	fi
	if test -d /usr/local/lib/netscape/nethelp
	then
	    INSTALL_DIR="/usr/local/lib/netscape"
	fi
fi

echo ""
echo "The localized user interface has been installed."
echo ""
echo "The rest of the installation will overwrite some existing"
echo ""
echo "components of the netscape software (in particular NetHelp)."
echo ""

while test -z ""
do
   ${ECHO}  "Do you want to continue? (Y/N): ${ENDER}"
   read choice
   case $choice in
      [yY]) break;;
      [nN]) exit 0;;
   esac
done

if test -z "${INSTALL_DIR}"
then
    echo ""
    echo "Sorry, can't find where the Netscape software was installed."
    echo ""
    echo "Please enter the path to your Install Directory:"
    echo ""
    ${ECHO} "[Netscape Install Directory] : ${ENDER}"
    read TARGET
else
    echo ""
    echo "Please enter the path to your Install Directory."
    echo ""
    echo "Hit return to use the indicated default."
    echo ""
    ${ECHO} "[Install Directory - ${INSTALL_DIR}] : ${ENDER}"
    read TARGET
fi

if test ! -z "${TARGET}"
then
    if test -d ${TARGET}/nethelp
    then
        INSTALL_DIR=${TARGET}
    fi
fi

if test -z "${INSTALL_DIR}"
then
    echo ""
    echo "Sorry, that doesn't look like the correct location."
    echo ""
    echo "Some localized components (NetHelp, etc) can not be installed at this time."
    echo "Re-run this script if you'd like to try again."
else
    if test -f ${INSTALL_DIR}/bookmark.htm
       then
       mv ${INSTALL_DIR}/bookmark.htm ${INSTALL_DIR}/old_bookmark.htm
    fi
    cp bookmark.htm ${INSTALL_DIR}/bookmark.htm
    if test ! -d ${INSTALL_DIR}/old_nethelp
        then
	mv ${INSTALL_DIR}/nethelp ${INSTALL_DIR}/old_nethelp
    fi
    mkdir ${INSTALL_DIR}/nethelp
    ${GZIP} -dc ${NETHELP} | (cd ${INSTALL_DIR}; tar -xf -)
fi

# Default Locale Setting

if test ! -d "${PREFIX}/locale/C/app-defaults"
   then
      mkdir -p ${PREFIX}/locale/C/app-defaults
fi

cp ${INSTALL_DIR}/Netscape.ad ${PREFIX}/locale/C/app-defaults/Netscape

echo ""
echo "Install completed. Don't forgot to see your platform-specfic"
echo "subdirectory(e.g. FreeBSD/README) for more information to"
echo "work in your platform environment."
echo ""
exit 0


--7JfCtLOvnd9MIVvH--

Date: Mon, 31 Jan 2000 21:24:09 +0900
From: Dong Chul Im <eastiron@pepsi.kaist.ac.kr>
To: "CHOI, Junho" <cjh@wdb.co.kr>
Subject: Re: ѱ Netscape ؼ.
Message-ID: <20000131212409.A1376@pepsi.kaist.ac.kr>

(snip)

 Stow Ű  شǴ ̴ ٸ 鵵 ׷  ʿ 
. ٸ ̶ /usr/local/netscape ϸ ǰ.

 stow  ̴ 𸣰ڴµ   Ű  α׷Դϴ.
( perl script Ұ)
gnu     ִ α׷̰.  ̷  ֽϴ.

/usr/local̶ 丮 stow 丮 
 ȿ  Ű ġմϴ. ( stow  ƳҴٴ 
ǹմϴ)

  mutt-1.0i ġϷ Ѵٸ
/usr/local/stow/mutt-1.0i 丮 mutt ġմϴ.
( Ҷ prefix=/usr/local س make install
% make install prefix=/usr/local/stow/mutt-1.0i  install ϱ⸸ ϸ
˴ϴ.)

׸ mutt-1.0i 丮  

% ls -l /usr/local/stow/mutt-1.0i

total 4
drwxr-xr-x   2 root     system       512  110 09:05 bin
drwxr-xr-x   2 root     system       512  110 09:05 etc
drwxr-xr-x   3 root     system       512  110 09:04 man
drwxr-xr-x   3 root     system       512  110 09:04 share

 Դϴ. ƽð mutt-1.0i 丮 ȿ /usr/local 丮
 ü踦 ´ٴ     ̴ϴ.

̷ mutt ġϰ stow ̿ؼ /usr/local  ũ ɾݴϴ.

% pwd 
/usr/local/stow

% stow mutt-1.0i

̷ ϸ mutt-1.0i 丮 ؿ ִ bin, etc, man, share ȿ ִ ȭ
 /usr/local/bin, /usr/local/etc, /usr/local/man ũ ɾݴϴ.
(/usr/local ƴ 丮ε ũ   ְ)

    mutt-1.0i ׷̵ϰų   ϰ 
  ִٴ Դϴ. ׸    ִ Ű  ̸ ȭ
ִ üũ ݴϴ. (vim ctags emacs ctags ̸   ٸ
ȭ)

  ο  mutt Դٸ ( example : /usr/local/stow/mutt-2.0)
% cd /usr/local/stow
% stow -D mutt-1.0i  # ũ 
% stow mutt-2.0      # ο Ű ġ.

stow ̿ؼ  Ű شǴ ũ ϰ ο ũ ɾָ
ȴٴ Դϴ. 

׸ 丮  /usr/local   netscape  
/usr/local/stow/.netscape470̶ 丮 netscape ġϰ
̿ʹ 
/usr/local/stow/netscape/bin 丮 ؿ   Ϸ ȴ script
(netscape  script) ־ stow   ġϸ ϰ 
 ִ  ϴ.

% pwd
/usr/local/stow

% ls -al
total 6
drwxr-xr-x   2 root     system      2048  1 9 09:05 .
drwxr-xr-x   2 root     system       512  1 9 08:05 ..
drwxr-xr-x   2 root     system       512  110 09:05 .netscape470
drwxr-xr-x   2 root     system       512  110 09:05 stow
drwxr-xr-x   2 root     system       512  110 09:05 netscape
drwxr-xr-x   3 root     system       512  110 09:04 mutt-1.0i

% ls netscape/bin
netscape

% stow netscape


Ȥö  ɱؼ   ϴ.
 ϷǼ.

<snip>
