[movitz-cvs] CVS update: movitz/losp/lib/net/ip4.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Wed Dec 8 23:40:04 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/lib/net
In directory common-lisp.net:/tmp/cvs-serv19437

Modified Files:
	ip4.lisp 
Log Message:
Say #\escape rather than #\esc, since that seems to be more generally acceptable.

Date: Thu Dec  9 00:40:03 2004
Author: ffjeld

Index: movitz/losp/lib/net/ip4.lisp
diff -u movitz/losp/lib/net/ip4.lisp:1.15 movitz/losp/lib/net/ip4.lisp:1.16
--- movitz/losp/lib/net/ip4.lisp:1.15	Thu Nov 25 16:06:02 2004
+++ movitz/losp/lib/net/ip4.lisp	Thu Dec  9 00:40:03 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Wed Apr 30 13:52:57 2003
 ;;;;                
-;;;; $Id: ip4.lisp,v 1.15 2004/11/25 15:06:02 ffjeld Exp $
+;;;; $Id: ip4.lisp,v 1.16 2004/12/08 23:40:03 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -493,7 +493,7 @@
     (setf *ip4-router* (ip4-address :129.242.16.1)))
   ;; This is to announce our presence on the LAN..
   (assert (polling-arp *ip4-router* (lambda ()
-				      (eql #\esc (muerte.x86-pc.keyboard:poll-char))))
+				      (eql #\space (muerte.x86-pc.keyboard:poll-char))))
       () "Unable to resolve ~/ip4:pprint-ip4/ by ARP." *ip4-router*)
   (values *ip4-nic* *ip4-ip*))
 
@@ -508,11 +508,11 @@
 	      *ip4-router*
 	      (polling-arp *ip4-router* 
 			   (lambda ()
-			     (eql #\esc (muerte.x86-pc.keyboard:poll-char))))))
+			     (eql #\space (muerte.x86-pc.keyboard:poll-char))))))
     (loop
       (case (muerte.x86-pc.keyboard:poll-char)
 	((nil))
-	((#\esc) (break "You broke ip4!"))
+	((#\space) (break "You broke ip4!"))
 	(t (return (values))))
       (let ((packet (and (packet-available-p ethernet)
 			 (receive ethernet))))




More information about the Movitz-cvs mailing list