Re: gnuchess 6, trouble to build book.bin
Antonio Ceballos acebal...@gmail.com writes: I did not have a specific date for the next release, but this new option along with other changes can do for a good opportunity to release. There is an additional problem that I need to investigate, but I think that I can release v6.0.2 before the end of month. Great, I think I'll wait until the release to update the Debian package. Vincent ___ Bug-gnu-chess mailing list Bug-gnu-chess@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnu-chess
Re: gnuchess 6, trouble to build book.bin
Hi, Antonio Ceballos acebal...@gmail.com writes: I have verified your report, i.e. that the command below works for GNU Chess v5, but not for v6, due to the different way to handle the user input. The obvious way to compile a book in v6 is to run GNU Chess, enter the 'book add filename' command, and quit once the book is done. However, I presume that you want to avoid the interactive use of the program. Yes, that's exactly my problem. Therefore, I have added a new option --addbook filename that allows to do what you want. I think this is a nice improvement to the program. Now you can type the following command: gnuchess --addbook book_1.02.pgn That will create book.bin and will exit. This is uploaded in the SVN repository in savannah (http://svn.savannah.gnu.org /viewvc/trunk/?root=chess). I will include it in the next release, along with a few other updates. Let me know if this works for you. Thanks a lot, it works fine. Do you plan to release a new version soon ? It would be easier for me if you do a release with this option because I won't have to take a svn snapshot. Thanks, Vincent ___ Bug-gnu-chess mailing list Bug-gnu-chess@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnu-chess
Re: gnuchess 6, trouble to build book.bin
I did not have a specific date for the next release, but this new option along with other changes can do for a good opportunity to release. There is an additional problem that I need to investigate, but I think that I can release v6.0.2 before the end of month. Antonio On Tue, Feb 7, 2012 at 6:21 PM, Vincent Legout vinc...@legout.info wrote: Hi, Antonio Ceballos acebal...@gmail.com writes: I have verified your report, i.e. that the command below works for GNU Chess v5, but not for v6, due to the different way to handle the user input. The obvious way to compile a book in v6 is to run GNU Chess, enter the 'book add filename' command, and quit once the book is done. However, I presume that you want to avoid the interactive use of the program. Yes, that's exactly my problem. Therefore, I have added a new option --addbook filename that allows to do what you want. I think this is a nice improvement to the program. Now you can type the following command: gnuchess --addbook book_1.02.pgn That will create book.bin and will exit. This is uploaded in the SVN repository in savannah ( http://svn.savannah.gnu.org /viewvc/trunk/?root=chess). I will include it in the next release, along with a few other updates. Let me know if this works for you. Thanks a lot, it works fine. Do you plan to release a new version soon ? It would be easier for me if you do a release with this option because I won't have to take a svn snapshot. Thanks, Vincent ___ Bug-gnu-chess mailing list Bug-gnu-chess@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnu-chess
gnuchess 6, trouble to build book.bin
Hi, I'm trying to update the gnuchess Debian package. In Debian, we have two packages: gnuchess and gnuchess-book, and I'm having trouble building gnuchess-book with gnuchess 6. gnuchess-book is built using book_1.02.pgn using this command: echo -e book add book_1.02.pgn\nquit | gnuchess With gnuchess 5, it produced a book.dat file which is installed by gnuchess-book. With gnuchess 6, gnuchess does not wait for the book add command to finish before exiting, so the book is not built. And I could not find another easy way to build the book. Do you have any idea ? Or could you please fix gnuchess so that we could build the book as in gnuchess 5. Thanks, Vincent ___ Bug-gnu-chess mailing list Bug-gnu-chess@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnu-chess