summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-08 03:51:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-08 03:51:55 +0000
commitf3fb03223eb03e1a362dbae4c1b48f8e07a48c0e (patch)
treea317019f1386ce1463db4eadb8d9de02c6d66854 /chess-gnuchess.el
parentb60fd83dd950c2c5ef04f23f25bf0d25ac9c11db (diff)
Bug fixes.
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index e53c871..1151291 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -34,6 +34,7 @@
(setq proc (start-process "chess-process" (current-buffer)
(executable-find "gnuchess")))
(message "Starting chess program 'gnuchess'...done")
+ (process-send-string proc "nopost\n")
proc))
((eq event 'shutdown)
@@ -48,7 +49,8 @@
((eq event 'move)
(unless chess-gnuchess-now-moving
- (chess-engine-send nil (concat (chess-ply-to-algebraic (car args)) "\n"))))))
+ (chess-engine-send nil (concat (chess-ply-to-algebraic (car args))
+ "\n"))))))
(provide 'chess-gnuchess)