Index: /nutchez-0.1/bin/nutch
===================================================================
--- /nutchez-0.1/bin/nutch	(revision 74)
+++ /nutchez-0.1/bin/nutch	(revision 75)
@@ -103,4 +103,5 @@
 # CLASSPATH initially contains $NUTCH_CONF_DIR, or defaults to $NUTCH_HOME/conf
 CLASSPATH=${NUTCH_CONF_DIR:=$NUTCH_HOME/conf}
+
 CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar
 
Index: /nutchez-0.1/bin/nutchez
===================================================================
--- /nutchez-0.1/bin/nutchez	(revision 74)
+++ /nutchez-0.1/bin/nutchez	(revision 75)
@@ -14,5 +14,6 @@
   export NUTCH_CONF_DIR=~/.nutchez
   export HADOOP_CONF_DIR=~/.nutchez
-  export HADOOP_LOG_DIR=~/.nutchez/log
+  export NUTCH_LOG_DIR=~/.nutchez/log
+#  export NUTCH_HOME=/opt/nutch
 
 . /opt/nutch/bin/nutchez-func.sh
@@ -65,26 +66,38 @@
   #   START , back, cancel
   # start =0 , back =1 
-  if [ $FC -eq 0 ];then
-    #go_to_M3
-    CHECK=1
-    # change temp file as conf file
-    promote_tempfile
-  else
-    #go_to_M1
-    LOCK=1
-    CHECK=0
-    # temp file delete!
-    clean_tempfile
-    #return_console
-  fi
+  #if [ $FC -eq 0 ];then
+  case $FC in
+    0)
+      #go_to_M3
+      CHECK=1
+      # change temp file as conf file
+      promote_tempfile
+      ;;
+    #else
+    1)
+      exit
+      ;;
+    3)
+      #go_to_M1
+      LOCK=1
+      CHECK=0
+      # temp file delete!
+      clean_tempfile
+      #return_console
+      ;;
+    255)
+      echo_vb "ESC pressed !!"
+      ;;
+  esac
+    #fi
 done
 
 start_crawl
 
-start_tomcat
+#start_tomcat
 
 # show result message
 
-show_report
+#show_report
 
 # Done 
Index: /nutchez-0.1/bin/nutchez-func.sh
===================================================================
--- /nutchez-0.1/bin/nutchez-func.sh	(revision 74)
+++ /nutchez-0.1/bin/nutchez-func.sh	(revision 75)
@@ -102,5 +102,5 @@
   echo_vb "2.1 test_file ~/.nutchez/sav return : $?"
   # dialog begin
-  dialog  --editbox ~/.nutchez/sav/n.urls.txt 16 51 2>/tmp/n.urls.tmp
+  dialog --title "The URLS that you want" --editbox ~/.nutchez/sav/n.urls.txt 16 51 2>/tmp/n.urls.tmp
   RET=$?
   echo_vb "2.1 cat url: `cat /tmp/n.urls.tmp`"
@@ -147,4 +147,5 @@
   #read READ
   $DIALOG --title "Check It !!" --clear \
+        --extra-button --extra-label "reset" --ok-label "ok" --cancel-label "exit" \
         --yesno "$MSG" 26 51
   RET=$?
@@ -166,5 +167,5 @@
   install_tomcat
   echo_vb "/opt/nutch/bin/nutch crawl ~/.nutchez/urls -dir ~/.nutchez/search -depth $DEPTH"
-  echo_vb "$NUTCH_CONF_DIR"
+  echo_vb "nutch conf dir = $NUTCH_CONF_DIR"
   /opt/nutch/bin/nutch crawl ~/.nutchez/urls -dir ~/.nutchez/search -depth $DEPTH
 }
Index: /nutchez-0.1/debian/nutchez.postrm
===================================================================
--- /nutchez-0.1/debian/nutchez.postrm	(revision 74)
+++ /nutchez-0.1/debian/nutchez.postrm	(revision 75)
@@ -7,7 +7,14 @@
 fi
 
-if [ -e HOME/.nutchez ]; then
-  rm -rf $HOME/.nutchez
-fi
+#if [ -e $HOME/.nutchez ]; then
+#  rm -rf $HOME/.nutchez
+#fi
+
+for i in `sudo find /home/ -name ".nutchez"`; do
+  if [ -d $i ];then
+    echo "delete this dir :  $i"
+    rm -ir $i
+  fi
+done
 
 rm -f /usr/local/sbin/nutchez*
