Index: interface/interface.h =================================================================== RCS file: /cvsroot/gnugo/gnugo/interface/interface.h,v retrieving revision 1.16 diff -u -r1.16 interface.h --- interface/interface.h 11 Oct 2004 21:03:28 -0000 1.16 +++ interface/interface.h 11 Nov 2004 20:40:00 -0000 @@ -33,8 +33,6 @@ void play_ascii(SGFTree *tree, Gameinfo *gameinfo, char *filename, char *until); -void play_ascii_emacs(SGFTree *tree, Gameinfo *gameinfo, - char *filename, char *until); void play_gtp(FILE *gtp_input, FILE *gtp_output, FILE *gtp_dump_commands, int gtp_initial_orientation); void play_gmp(Gameinfo *gameinfo, int simplified); Index: interface/main.c =================================================================== RCS file: /cvsroot/gnugo/gnugo/interface/main.c,v retrieving revision 1.105 diff -u -r1.105 main.c --- interface/main.c 9 Nov 2004 00:45:36 -0000 1.105 +++ interface/main.c 11 Nov 2004 20:40:00 -0000 @@ -161,7 +161,6 @@ enum mode { MODE_UNKNOWN = 0, MODE_ASCII, - MODE_ASCII_EMACS, MODE_GTP, MODE_GMP, MODE_SGMP, @@ -659,8 +658,6 @@ case OPT_MODE: if (strcmp(gg_optarg, "ascii") == 0) playmode = MODE_ASCII; - else if (strcmp(gg_optarg, "emacs") == 0) - playmode = MODE_ASCII_EMACS; else if (strcmp(gg_optarg, "gtp") == 0) playmode = MODE_GTP; else if (strcmp(gg_optarg, "gmp") == 0) @@ -1429,13 +1426,6 @@ break; - case MODE_ASCII_EMACS: - if (mandated_color != EMPTY) - gameinfo.computer_player = OTHER_COLOR(mandated_color); - - play_ascii_emacs(&sgftree, &gameinfo, infilename, untilstring); - break; - case MODE_ASCII: default: if (mandated_color != EMPTY) Index: interface/play_ascii.c =================================================================== RCS file: /cvsroot/gnugo/gnugo/interface/play_ascii.c,v retrieving revision 1.49 diff -u -r1.49 play_ascii.c --- interface/play_ascii.c 8 Nov 2004 04:10:02 -0000 1.49 +++ interface/play_ascii.c 11 Nov 2004 20:40:00 -0000 @@ -46,7 +46,6 @@ /* some options for the ascii interface */ static int opt_showboard = 1; static int showdead = 0; -static int emacs = 0; static SGFTree sgftree; static int last_move_i; /* The position of the last move */ static int last_move_j; /* -""- */ @@ -213,7 +212,7 @@ printf("\n"); fflush(stdout); - printf("%s%s\n", (emacs ? "EMACS1\n" : ""), letterbar); + printf("%s\n", letterbar); fflush(stdout); for (i = 0; i < board_size; i++) { @@ -520,7 +519,7 @@ last_move_i = i; last_move_j = j; - if (opt_showboard && !emacs) { + if (opt_showboard) { ascii_showboard(); printf("GNU Go is thinking...\n"); } @@ -995,14 +994,6 @@ printf("\nThanks! for playing GNU Go.\n\n"); } -void -play_ascii_emacs(SGFTree *tree, Gameinfo *gameinfo, - char *filename, char *until) -{ - emacs = 1; - play_ascii(tree, gameinfo, filename, until); -} - /* Communicates with user after a game has ended. */ static int