Let's try to port SchemeBBS to MIT Scheme 11.2.
First, we need a patch to fix this error:
1 ]=> (listen server (string->number (car (command-line))))
;The object #f, passed as an argument to string-length, is not the correct type.
This is the patch:
--- bbs.scm.orig
+++ bbs.scm
@@ -414,4 +414,4 @@
(decode-formdata message)
(cdr validation)))))
-(listen server (string->number (car (command-line))))
+(listen server (string->number (car (command-line-arguments))))
There are no more error messages after applying the patch, but I am unable to view the webpage at localhost:8080. In Firefox, I get "The connection was reset". Does anyone know why?