Index: nutchez-0.1/bin/nutchez
===================================================================
--- nutchez-0.1/bin/nutchez	(revision 72)
+++ 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 
