diff -rc gnuchess-6.0.2.orig/ChangeLog gnuchess-6.0.2/ChangeLog
*** gnuchess-6.0.2.orig/ChangeLog	2012-03-04 09:40:41.000000000 +0100
--- gnuchess-6.0.2/ChangeLog	2012-11-08 10:53:41.223701549 +0100
***************
*** 1,3 ****
--- 1,6 ----
+ 2012-11-04 Olivier Esser  <diolu@bigfoot.com>
+ 	Behave as a an UCI engine by default (non official change).
+ 
  2012-03-04  Antonio Ceballos  <aceballos@gmail.com>
  
  	Idea from Kamil Rytarowski <n54@gmx.com>
diff -rc gnuchess-6.0.2.orig/src/engine/option.cpp gnuchess-6.0.2/src/engine/option.cpp
*** gnuchess-6.0.2.orig/src/engine/option.cpp	2011-01-24 23:23:36.000000000 +0100
--- gnuchess-6.0.2/src/engine/option.cpp	2012-11-08 10:56:09.699571943 +0100
***************
*** 51,57 ****
     { "Ponder", true, "false", "check", "", NULL },
  
     { "OwnBook",  true, "true",           "check",  "", NULL },
!    { "BookFile", true, "book_small.bin", "string", "", NULL },
  
     { "NullMove Pruning",       true, "Fail High", "combo", "var Always var Fail High var Never", NULL },
     { "NullMove Reduction",     true, "3",         "spin",  "min 1 max 3", NULL },
--- 51,57 ----
     { "Ponder", true, "false", "check", "", NULL },
  
     { "OwnBook",  true, "true",           "check",  "", NULL },
!    { "BookFile", true, "/sdcard/gnuchess/book.bin", "string", "", NULL },
  
     { "NullMove Pruning",       true, "Fail High", "combo", "var Always var Fail High var Never", NULL },
     { "NullMove Reduction",     true, "3",         "spin",  "min 1 max 3", NULL },
diff -rc gnuchess-6.0.2.orig/src/frontend/cmd.c gnuchess-6.0.2/src/frontend/cmd.c
*** gnuchess-6.0.2.orig/src/frontend/cmd.c	2012-02-05 14:02:46.000000000 +0100
--- gnuchess-6.0.2/src/frontend/cmd.c	2012-11-08 10:53:41.223701549 +0100
***************
*** 608,614 ****
       " -p, --post         start up showing thinking\n"
       " -e, --easy         disable thinking in opponents time\n"
       " -m, --manual       enable manual mode\n"
!      " -u, --uci          enable UCI protocol (externally behave as UCI engine)\n"
       " -M size, --memory=size   specify memory usage in MB for hashtable\n"
       " -a filename, --addbook=filename   compile book.bin from pgn book 'filename'\n"
       "\n"
--- 608,614 ----
       " -p, --post         start up showing thinking\n"
       " -e, --easy         disable thinking in opponents time\n"
       " -m, --manual       enable manual mode\n"
!      " -u, --nouci        disable UCI protocol\n"
       " -M size, --memory=size   specify memory usage in MB for hashtable\n"
       " -a filename, --addbook=filename   compile book.bin from pgn book 'filename'\n"
       "\n"
diff -rc gnuchess-6.0.2.orig/src/main.cc gnuchess-6.0.2/src/main.cc
*** gnuchess-6.0.2.orig/src/main.cc	2012-03-04 09:59:55.000000000 +0100
--- gnuchess-6.0.2/src/main.cc	2012-11-08 10:53:41.223701549 +0100
***************
*** 224,230 ****
   
    int c;
    int opt_help = 0, opt_version = 0, opt_post = 0, opt_xboard = 0, opt_memory = 0,
!       opt_easy = 0, opt_manual = 0, opt_quiet = 0, opt_uci = 0;
    char opt_addbook[MAXSTR+1] = "";
    char *endptr;
  
--- 224,230 ----
   
    int c;
    int opt_help = 0, opt_version = 0, opt_post = 0, opt_xboard = 0, opt_memory = 0,
!       opt_easy = 0, opt_manual = 0, opt_quiet = 0, opt_nouci = 0;
    char opt_addbook[MAXSTR+1] = "";
    char *endptr;
  
***************
*** 243,249 ****
          {"post", 0, 0, 'p'},
          {"easy", 0, 0, 'e'},
          {"manual", 0, 0, 'm'},
!         {"uci", 0, 0, 'u'},
          {"addbook", 1, 0, 'a'},
          {0, 0, 0, 0}
      };
--- 243,249 ----
          {"post", 0, 0, 'p'},
          {"easy", 0, 0, 'e'},
          {"manual", 0, 0, 'm'},
!         {"nouci", 0, 0, 'u'},
          {"addbook", 1, 0, 'a'},
          {0, 0, 0, 0}
      };
***************
*** 303,309 ****
         opt_help = 1;
         break;
       case 'u':
!        opt_uci = 1;
         break;
       case 'a':    
         if  ( optarg == NULL ){ /* we have error such as two -a */
--- 303,309 ----
         opt_help = 1;
         break;
       case 'u':
!        opt_nouci = 1;
         break;
       case 'a':    
         if  ( optarg == NULL ){ /* we have error such as two -a */
***************
*** 344,350 ****
    }
    if (opt_xboard == 1)
      SET (flags, XBOARD);
!   if (opt_uci == 1)
      SET (flags, UCI);
    if (opt_post == 1) {
      SET (flags, POST);	
--- 344,350 ----
    }
    if (opt_xboard == 1)
      SET (flags, XBOARD);
!   if (opt_nouci != 1)
      SET (flags, UCI);
    if (opt_post == 1) {
      SET (flags, POST);	
***************
*** 358,364 ****
  	return(0);
    
    /* Startup output */
!   if ( !( flags & XBOARD ) && ( !opt_quiet ) && ( !opt_uci) ) {
      printf( "Copyright (C) 2012 Free Software Foundation, Inc.\n" );
      printf( "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n" );
      printf( "This is free software: you are free to change and redistribute it.\n" );
--- 358,364 ----
  	return(0);
    
    /* Startup output */
!   if ( !( flags & XBOARD ) && ( !opt_quiet ) && ( !(flags & UCI) ) && ( !opt_help) ) {
      printf( "Copyright (C) 2012 Free Software Foundation, Inc.\n" );
      printf( "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n" );
      printf( "This is free software: you are free to change and redistribute it.\n" );
